summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Options/Subcommands.py
Commit message (Collapse)AuthorAgeFilesLines
* Options: Add possibility to have aliases for commandsAlexander Sulfrian2015-10-131-12/+20
| | | | | | | You can add now a list of aliases to a Subcommand to make it available with different names. Each alias in the list is used without modification, especially the aliases do not get converted to lower case (this is for example required for "EOF").
* Options: Add possibility to have interactive only SubcommandsAlexander Sulfrian2015-10-131-5/+14
| | | | | | | Some subcommands only makes sense, if they are called from an interactive shell and to interface a running server. Now we can mark a Subcommand as only_interactive and it will not be callable as argument from the command line.
* Options: Really reparse the argument list of SubcommandsAlexander Sulfrian2015-10-131-0/+1
| | | | | | We change the parser namespace so contain all the global flags. So we silently erase the parser cache and have to set the parsed flag, so that the Parser does not use our "empty" new namespace as cached result.
* testsuite: Added unit tests for new option parsingChris St. Pierre2014-11-101-71/+82
|
* Options: Replace relative imports with absoluteChris St. Pierre2013-08-121-5/+3
|
* testsuite: fixed more unit testsChris St. Pierre2013-08-121-1/+3
|
* testsuite: fixed more unit testsChris St. Pierre2013-08-121-4/+5
|
* Options: wrote completely new option parserChris St. Pierre2013-06-271-0/+237