Home | Trees | Indices | Help |
|
---|
|
Common functions and options definitions for command line
__docformat__ = 'restructuredtext'
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.
|
|||
Options Just a convinience placeholder for all available options |
|||
OptionGroups Group creation is delayed until instance is requested. |
|
|||
|
|||
|
|||
|
|
|||
parser = OptionParser(add_help_option= False, conflict_handler
|
|||
opt = Options()
|
|||
opts = OptionGroups(parser)
|
|||
commonopts_list = [opt.verbose, opt.help]
|
|||
optDebug = Option("-d", "--debug", action= "callback", callbac
|
Imports: OptionParser, Option, OptionGroup, OptionConflictError, verbose, externals, copy, debug, pywt
|
parser
|
optDebug
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 2 18:37:01 2009 | http://epydoc.sourceforge.net |