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)
-
close_profile()
-
configure_logging()
Configure logging for the app.
-
init_profile()
-
initialize_app(argv)
Global app init bits:
- set up API versions
- validate authentication info
- authenticate against Identity if requested
-
interact()
-
log = <logging.Logger object at 0x7f3047da9890>
-
prepare_to_run_command(cmd)
Set up auth and API versions
-
run(argv)
-
run_subcommand(argv)
-
timing_data = []
-
openstackclient.shell.main(argv=None)
-
openstackclient.shell.prompt_for_password(prompt=None)
Prompt user for a password
Prompt for a password if stdin is a tty.