summaryrefslogtreecommitdiffstats
path: root/completion.py
Commit message (Collapse)AuthorAgeFilesLines
* command et al.: consider common (short)opts (avoid them)Jan Pokorný2015-05-291-2/+2
| | | | | | | Because we need to pass extra piece of information to the responsible function, it cannot be arranged as a property any longer. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main + more: introduce concept of "expert" cmd switchesJan Pokorný2014-11-141-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: new program-specific unit incl. some moves from utilsJan Pokorný2014-05-191-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Relicence GPLv2 -> GPLv2+Jan Pokorný2014-04-251-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Refactor: move functional-paradigm helpers utils -> utils_funcJan Pokorný2014-04-011-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: allow for fruitful subcommand-less fallbackJan Pokorný2014-03-141-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: [['s regex needs explicit start boundaryJan Pokorný2014-03-141-2/+2
| | | | | | (haven't expected that, oops) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: fix hardcoding '_main_boostrap_' function partJan Pokorný2014-03-141-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: fix issue with backslash verbatim in outputJan Pokorný2014-03-141-2/+2
| | | | | | | Issue introduced with commit 03051892 (unexpectedly, r""" string notation treats backslashes as inline symbols). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: use raw string to avoid doubling backslashesJan Pokorný2014-03-071-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: do not start new line needlesslyJan Pokorný2014-03-071-2/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Formalize s/_/-/g + inverse transformation as functionsJan Pokorný2014-03-061-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: make style checker happy about line < 80 charsJan Pokorný2014-03-061-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: fix aliases missing in commands to completeJan Pokorný2014-03-061-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: integrate cmd alias support (incl. help screen+completion)Jan Pokorný2014-03-061-14/+26
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* completion: way to get bash (and perhaps others) autocompletionsJan Pokorný2014-02-261-0/+127
Currently it provides WIP standalone bash completion, but should be fairly easy to implement support for, e.g. bash-completion dependent version, zsh-specific one, etc. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>