Package ClusterShell :: Package CLI :: Module OptionParser :: Class OptionParser
[hide private]
[frames] | no frames]

Class OptionParser

source code


Derived OptionParser for all CLIs

Instance Methods [hide private]
 
__init__(self, usage, **kwargs)
Initialize ClusterShell CLI OptionParser
source code
 
install_config_options(self, filename='')
Install config options override
source code
 
install_nodes_options(self)
Install nodes selection options
source code
 
install_display_options(self, debug_option=True, verbose_options=False, separator_option=False, dshbak_compat=False, msgtree_mode=False)
Install options needed by Display class
source code
 
_copy_callback(self, option, opt_str, value, parser)
special callback method for copy and rcopy toggles
source code
 
install_filecopy_options(self)
Install file copying specific options
source code
 
install_connector_options(self)
Install engine/connector (ssh, ...) options
source code
 
install_nodeset_commands(self)
Install nodeset commands
source code
 
install_nodeset_operations(self)
Install nodeset operations
source code
 
install_nodeset_options(self)
Install nodeset options
source code

Inherited from optparse.OptionParser: add_option_group, check_values, destroy, disable_interspersed_args, enable_interspersed_args, error, exit, expand_prog_name, format_epilog, format_help, format_option_help, get_default_values, get_description, get_option_group, get_prog_name, get_usage, get_version, parse_args, print_help, print_usage, print_version, set_default, set_defaults, set_process_default_values, set_usage

Inherited from optparse.OptionParser (private): _add_help_option, _add_version_option, _create_option_list, _get_all_options, _get_args, _get_encoding, _init_parsing_state, _match_long_opt, _populate_option_list, _process_args, _process_long_opt, _process_short_opts

Inherited from optparse.OptionContainer: add_option, add_options, format_description, get_option, has_option, remove_option, set_conflict_handler, set_description

Inherited from optparse.OptionContainer (private): _check_conflict, _create_option_mappings, _share_option_mappings

Class Variables [hide private]

Inherited from optparse.OptionParser: standard_option_list

Method Details [hide private]

__init__(self, usage, **kwargs)
(Constructor)

source code 

Initialize ClusterShell CLI OptionParser

Overrides: optparse.OptionContainer.__init__