watcherclient.common.command
Module¶watcherclient.common.command.
Command
(app, app_args, cmd_name=None)[source]¶Bases: cliff.command.Command
log
= <logging.Logger object>¶run
(parsed_args)[source]¶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
and ShowOne
) should override this
method to wrap take_action()
.
Return the value returned by take_action()
or 0.
watcherclient.common.command.
Lister
(app, app_args, cmd_name=None)[source]¶Bases: watcherclient.common.command.Command
, cliff.lister.Lister
log
= <logging.Logger object>¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.