Command
A holder for a command that just automates type handling & that sort of thing
__init__(self, name, method):
get_help(self):
Gets single method help string
:returns
:_
get_parse_dict(*spec):
Builds a parse spec to feed into an ArgumentParser later
spec
:Any
:returns
:_
get_parse_spec(self):
Gets a parse spec that can be fed to ArgumentParser
:returns
:_
parse(self):
Generates a parse spec, builds an ArgumentParser, and parses the arguments
:returns
:_
__call__(self):
Parse argv and call bound method
:returns
:_