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: 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: ArgumentParser

add_argument(dest, ..., name=value, ...)
add_argument(option_string, option_string, ..., name=value, ...) None
error(message: string)

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

troveclient.shell.main()