The magnumclient.shell Module

Command-line interface to the OpenStack Magnum API.

class magnumclient.shell.MagnumClientArgumentParser(*args, **kwargs)

Bases: argparse.ArgumentParser

error(message: string)

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

class magnumclient.shell.OpenStackHelpFormatter(prog, indent_increment=2, max_help_position=24, width=None)

Bases: argparse.HelpFormatter

start_section(heading)
class magnumclient.shell.OpenStackMagnumShell

Bases: object

do_bash_completion(_args)

Prints arguments for bash-completion.

Prints all of the commands and options to stdout so that the magnum.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)
magnumclient.shell.main()
magnumclient.shell.positive_non_zero_float(text)