Home | Trees | Indices | Help |
|
---|
|
Helper functions to support command line tools providing more than one command. e.g called as "tool command [options] args..." where <options> and <args> are command'specific
Classes | |
BadCommandUsage Raised when an unknown command is used or when a command is not correctly used (bad options, too much / missing arguments...). |
|
CommandError Raised when a command can't be processed and we want to display it and exit, without traceback nor usage displayed. |
|
CommandLine Usage: |
|
Command Base class for command line commands. |
|
ListCommandsCommand list available commands, useful for bash completion. |
Functions | |||
|
|||
|
|||
|
Variables | |
DEFAULT_COPYRIGHT = '
|
Function Details |
register existing commands
|
command line tool: run command specified by argument list (without the program name). Raise SystemExit with status 0 if everything went fine. >>> main_run(sys.argv[1:])
|
helper function to get and check command line arguments
|
Variables Details |
DEFAULT_COPYRIGHT
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Feb 26 13:48:55 2016 | http://epydoc.sourceforge.net |