Command-line interface to the Quantum APIs
Bases: argparse.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: cliff.app.App
Make sure the user has provided all of the authentication info we need.
Return an argparse option parser for this application.
Subclasses may override this method to extend the parser with more global options.
| Parameters: |
|
|---|
Create logging handlers for any log output.
Global app init bits:
Equivalent to the main program for the application.
| Parameters: | argv (list of str) – input arguments and options |
|---|
Search for the first defined of possibly many env vars
Returns the first environment variable defined in vars, or returns the default defined in kwargs.