osc_lib.command package¶
Submodules¶
osc_lib.command.command module¶
-
class
osc_lib.command.command.
Command
(app, app_args, cmd_name=None)¶ Bases:
cliff.command.Command
-
deprecated_option_warning
(old_option, new_option)¶ Emit a warning for use of a deprecated option
-
log
= <logging.Logger object>¶
-
run
(parsed_args)¶
-
validate_os_beta_command_enabled
()¶
-
-
class
osc_lib.command.command.
CommandMeta
¶ Bases:
abc.ABCMeta
-
class
osc_lib.command.command.
Lister
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
,cliff.lister.Lister
-
log
= <logging.Logger object>¶
-
-
class
osc_lib.command.command.
ShowOne
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
,cliff.show.ShowOne
-
log
= <logging.Logger object>¶
-
osc_lib.command.commandmanager module¶
Modify cliff.CommandManager
-
class
osc_lib.command.commandmanager.
CommandManager
(namespace, convert_underscores=True)¶ Bases:
cliff.commandmanager.CommandManager
Add additional functionality to cliff.CommandManager
Load additional command groups after initialization Add _command_group() methods
-
add_command_group
(group=None)¶ Adds another group of command entrypoints
-
get_command_groups
()¶ Returns a list of the loaded command groups
-
get_command_names
(group=None)¶ Returns a list of commands loaded for the specified group
-
load_commands
(namespace)¶
-
osc_lib.command.timing module¶
Timing Implementation
-
class
osc_lib.command.timing.
Timing
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
Show timing data
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-