Common functions and options definitions for command line
Conventions: Every option (instance of optparse.Option) has prefix “opt”. Lists of options has prefix opts (e.g. opts.common).
Option name should be camelbacked version of .dest for the option.
Functions
split_comma_semicolon_lists(s[, dtype]) | TODO |
Classes
Option(*opts, **attrs) | Instance attributes: _short_opts : [string] _long_opts : [string] action : string type : string dest : string default : any nargs : int const : any choices : [string] callback : function callback_args : (any*) callback_kwargs : { string : any } help : string metavar : string .. |
OptionGroup(parser, title[, description]) | |
OptionGroups(parser) | Group creation is delayed until instance is requested. |
OptionParser([usage, option_list, ...]) | Class attributes: |
Options | Just a convenience placeholder for all available options |
Exceptions
Option(*opts, **attrs) | Instance attributes: _short_opts : [string] _long_opts : [string] action : string type : string dest : string default : any nargs : int const : any choices : [string] callback : function callback_args : (any*) callback_kwargs : { string : any } help : string metavar : string .. |
OptionGroup(parser, title[, description]) | |
OptionGroups(parser) | Group creation is delayed until instance is requested. |
OptionParser([usage, option_list, ...]) | Class attributes: |
Options | Just a convenience placeholder for all available options |