The troveclient.shell Module

The troveclient.shell Module

Command-line interface to the OpenStack Trove API.

class troveclient.shell.OpenStackHelpFormatter(prog, indent_increment=2, max_help_position=34, width=None)

Bases: argparse.HelpFormatter

start_section(heading)
class troveclient.shell.OpenStackTroveShell

Bases: object

do_bash_completion(args)

Prints arguments for bash_completion.

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

do_help(args)

Displays help about this program or one of its subcommands.

get_base_parser(argv)
get_subcommand_parser(version, argv)
main(argv)
setup_debugging(debug)
class troveclient.shell.TroveClientArgumentParser(*args, **kwargs)

Bases: argparse.ArgumentParser

add_argument(*args, **kwargs)
error(message: string)

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

troveclient.shell.main()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-troveclient 2.14.1.dev7