osc_lib.command package¶
Submodules¶
osc_lib.command.command module¶
- class osc_lib.command.command.Command(app, app_args, cmd_name=None)¶
Bases:
Command
- deprecated_option_warning(old_option, new_option)¶
Emit a warning for use of a deprecated option
- log = <Logger osc_lib.command.command.Command (WARNING)>¶
- run(parsed_args)¶
Invoked by the application when the command is run.
Developers implementing commands should override
take_action()
.Developers creating new command base classes (such as
Lister
andShowOne
) should override this method to wraptake_action()
.Return the value returned by
take_action()
or 0.
- validate_os_beta_command_enabled()¶
- class osc_lib.command.command.CommandMeta(name, bases, cls_dict)¶
Bases:
ABCMeta
osc_lib.command.commandmanager module¶
- class osc_lib.command.commandmanager.CommandManager(namespace, convert_underscores=True)¶
Bases:
CommandManager
Noop subclass for transition purposes.
osc_lib.command.timing module¶
Timing Implementation