The novaclient.shell Module

Command-line interface to the OpenStack Nova API.

class novaclient.shell.NovaClientArgumentParser(*args, **kwargs)

Bases: argparse.ArgumentParser

error(message: string)

Prints a usage message incorporating the message to stderr and exits.

class novaclient.shell.OpenStackComputeShell

Bases: object

do_bash_completion(_args)

Prints all of the commands and options to stdout so that the nova.bash_completion script doesn’t have to hard code them.

do_help(args)

Display help about this program or one of its subcommands.

get_base_parser()
get_subcommand_parser(version)
main(argv)
setup_debugging(debug)
class novaclient.shell.OpenStackHelpFormatter(prog, indent_increment=2, max_help_position=24, width=None)

Bases: argparse.HelpFormatter

start_section(heading)
novaclient.shell.main()

This Page