Creates and runs a subcommand by interpreting 'argv[1]'
Methods
|
|
__call__
_run
getSubcommand
interpret
|
|
__call__
|
__call__ (
klass,
*__args,
*__kw,
)
(Meta)class method: try to return the interpreted subcommand
Exceptions
|
|
InvocationError( "missing argument(s)" )
|
|
|
_run
|
_run ( self )
Interpret argv[1] and run it as a subcommand
Exceptions
|
|
InvocationError( "missing argument(s)" )
|
|
|
getSubcommand
|
getSubcommand (
self,
executable,
**kw,
)
Same as for AbstractCommand, but with shifted argv
|
|
interpret
|
interpret ( self, argument )
Interpret the argument and return a subcommand object
|
|