Command line argument handler.
|
__init__(self,
program,
description='
' )
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
add_array_option(self,
name,
shortname,
type,
help,
default=None,
choices=None,
required=False)
Define an array option (a dashed argument that may receive one or
multiple values on the command line, separated with spaces). |
source code
|
|
|
|
|
|
|
add_scalar_option(self,
name,
shortname,
type,
help,
default=None,
choices=None,
required=False)
Define a scalar option (a dashed argument that accepts a single
value). |
source code
|
|
argparse.Namespace
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|