Command-line interface to the OpenStack APIs
openstackclient.shell.
CommandManager
(namespace, convert_underscores=True)¶Bases: osc_lib.command.commandmanager.CommandManager
load_commands
(namespace)¶Load all commands from an entry point.
openstackclient.shell.
OpenStackShell
¶Bases: osc_lib.shell.OpenStackShell
build_option_parser
(description, version)¶Return an argparse option parser for this application.
Subclasses may override this method to extend the parser with more global options.
description (str) – full description of the application
version (str) – version number for the application
argparse_kwargs – extra keyword argument passed to the ArgumentParser constructor
initialize_app
(argv)¶Global app init bits:
set up API versions
validate authentication info
authenticate against Identity if requested
openstackclient.shell.
main
(argv=None)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.