Special case of Argument Parser for OPALS Package Script provide common parameter set. More...
Public Member Functions | |
def | add_package_arguments (self, fullscriptpath, **kwargs) |
add common arguments for OPALS package script (input, output, tempdir, config, projectdir, etc.) More... | |
def | add_logging_options (self) |
def | parse_args (self, args=None, namespace=None, skipHelpAction=False) |
![]() | |
def | __init__ (self, prog=None, usage=None, description=None, epilog=None, version=None, parents=None, formatter_class=BriefHelpFormatter, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True) |
def | format_help (self) |
def | add_argument_group (self, *args, **kwargs) |
def | add_output_argument_group (self, *args, **kwargs) |
def | add_argument (self, *args, **kwargs) |
accept more items in add_arguments and remove before fall-back to superclass' implementation More... | |
def | generate_proxy_cls (self) |
construct class from a dict containing object definition (name, attributes) More... | |
def | get_choice_dict (self, action) |
def | print_single_help (self, values) |
print detailed help information for a single parameter option More... | |
def | print_doxygen_help (self, file=None) |
generate doxygen documentation for each action More... | |
Public Attributes | |
pkg_arguments | |
has_subscripts | |
subscripts | |
allscripts | |
out_pairs | |
logging_arguments | |
![]() | |
user_actions | |
action_extras | |
doxygen_description_width | |
epilog | |
Special case of Argument Parser for OPALS Package Script provide common parameter set.
def add_package_arguments | ( | self, | |
fullscriptpath, | |||
** | kwargs | ||
) |
add common arguments for OPALS package script (input, output, tempdir, config, projectdir, etc.)
References ArgumentParser.add_argument_group(), PkgArgumentParser.add_logging_options(), PkgArgumentParser.allscripts, PkgArgumentParser.fullscriptpath, PkgArgumentParser.has_subscripts, PkgArgumentParser.logging_arguments, PkgArgumentParser.out_pairs, PkgArgumentParser.pkg_arguments, and PkgArgumentParser.subscripts.