Command-line interface to the Watcher API.
-
class
watcherclient.shell.WatcherShell(**kwargs)[source]
Bases: cliff.app.App
Watcher command line interface.
-
build_option_parser(description, version, argparse_kwargs=None)[source]
Introduces global arguments for the application.
This is inherited from the framework.
-
configure_logging()[source]
Configure logging for the app.
-
create_client(args)[source]
-
log = <logging.Logger object>
-
prepare_to_run_command(cmd)[source]
Prepares to run the command
Checks if the minimal parameters are provided and creates the
client interface.
This is inherited from the framework.
-
run(argv)[source]
-
watcherclient.shell.main(argv=['-b', 'html', 'doc/source', '/build/python-watcherclient-dnBA3K/python-watcherclient-0.25.1/debian/python-watcherclient-doc/usr/share/doc/python-watcherclient-doc/html'])[source]