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

log = <logging.Logger object at 0x7f17e4dfae50>
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 at 0x7f17e4df7110>
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 at 0x7f17e4df7290>

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 at 0x7f17e4de3ed0>
take_action(parsed_args)

Module contents

Table Of Contents

Project Source

This Page