openstackclient.shell module
Command-line interface to the OpenStack APIs
-
class openstackclient.shell.OpenStackShell
Bases: cliff.app.App
-
CONSOLE_MESSAGE_FORMAT = '%(levelname)s: %(name)s %(message)s'
-
build_option_parser(description, version)
-
clean_up(cmd, result, err)
-
configure_logging()
Configure logging for the app.
-
initialize_app(argv)
Global app init bits:
- set up API versions
- validate authentication info
- authenticate against Identity if requested
-
log = <logging.Logger object at 0x22ff810>
-
prepare_to_run_command(cmd)
Set up auth and API versions
-
run(argv)
-
timing_data = []
-
openstackclient.shell.main(argv=['-b', 'html', 'doc/source', 'html'])
-
openstackclient.shell.prompt_for_password(prompt=None)
Prompt user for a password
Prompt for a password if stdin is a tty.