Methods
|
|
_invocationError
_run
getCommandParent
getSubcommand
isInteractive
run
showHelp
|
|
_invocationError
|
_invocationError ( self, msg )
Write msg and usage to stderr if interactive, otherwise re-raise
|
|
_run
|
_run ( self )
Override this in subclasses to implement desired behavior
|
|
getCommandParent
|
getCommandParent ( self )
Get or create a component to be used as the subcommand's parent
|
|
getSubcommand
|
getSubcommand (
self,
executable,
**kw,
)
Return a ICmdLineApp with our environment as its defaults
Any IExecutable may be supplied as the basis for creating
the ICmdLineApp . NotImplementedError is raised if the
supplied object is not an IExecutable .
|
|
isInteractive
|
isInteractive ( self )
True if stdin is a terminal
|
|
run
|
run ( self )
Run the command
|
|
showHelp
|
showHelp ( self )
Display usage message on stderr
|