Command-line interface to the Mistral APIs
Bases: Command
Prints all of the commands and options for bash-completion.
Override to do something useful.
The returned value will be returned by the program.
Bases: Action
Custom help action.
Provide a custom action so the -h and –help options to the main app will print a list of the commands.
The commands are determined by checking the CommandManager instance, passed in as the “default” value for the action.
Bases: App
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
Create logging handlers for any log output.
Hook for subclasses to take global initialization action after the arguments are parsed but before a command is run. Invoked only once, even in interactive mode.
argv – List of arguments, including the subcommand to run. Empty for interactive mode.
Bases: HelpFormatter
Returns the first environment variable set.
If all are empty, defaults to ‘’ or keyword arg default.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.