summaryrefslogtreecommitdiffstats
path: root/lmi/scripts/common/command/multiplexer.py
Commit message (Collapse)AuthorAgeFilesLines
* moved lmi meta-command to openlmi-tools repositoryMichal Minar2014-04-241-155/+0
|
* fixed parsing of command line optionsMichal Minar2014-02-171-1/+3
| | | | | | | | Docopt parser needs to be given options_first which causes that all arguments are treated a positional after the first positional is given. This allows for commands nesting with hierarchical usage. Multiplexer used wrong heuristic for determining its value.
* turned logging messages into sentencesMichal Minar2014-02-131-1/+1
| | | | | Which means that all messages have first letter uppercased and are terminated with a dot.
* improved help commandMichal Minar2014-02-051-2/+2
| | | | | | | | | | | | | | | | | Help command behaves consistently in interactive and non-interactive modes. Following help requests are now possible: lmi> help # shows available commands lmi> help cmd # prints help of cmd command lmi> help cmd subcmd # prints help of subcmd in cmd namespace # if it has its own usage string lmi> cmd --help # the same as help cmd lmi> cmd subcmd --help # the same as help cmd subcmd The same works in non-interactive mode. Resolves tickets #226, #214
* redone interactive modeMichal Minar2014-02-051-7/+9
| | | | | | | | | | | | | | | | | | | | * Added support for changing to command namespace. Example: $ lmi lmi> :cd sw >sw> help ... >sw> :cd list >>list> pkgs >>list> :pwd /lmi/sw/list >>list> :cd / lmi> * Help and usage messages are now unindented. Resolves ticket #223
* Updated copyright yearPeter Schiffer2014-01-291-1/+1
|
* allow multiplexer to have a fallback commandMichal Minar2013-10-111-3/+23
|
* documentation improvementsMichal Minar2013-09-211-5/+3
| | | | | | | | Use relative references to lmi.scripts components where possible. Use '~' at the beginning of references to show just the last component of path (lmi.scripts.common.*) is just too long. Doc string corrections in formatter.
* refactored commandsMichal Minar2013-09-211-0/+133
lmi.scripts.common.command subpackage refactored to make it nicely browseable.