Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Print BinOpMod Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call AttributeLoad Str attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A A command line tool for viewing information from the PaaSTA stack. N/A argparse N/A sys N/A argcomplete N/A pkg_resources paasta_tools.cli cmds paasta_tools.cli.utils load_method paasta_tools.cli.utils modules_in_pkg paasta_commands_dir ThrowingArgumentParser N/A N/A argparse ArgumentParser N/A N/A Overriding the error method allows us to print the whole help page,
    otherwise the python arg parser prints a not-so-useful usage message that
    is way too terse error N/A N/A self message N/A N/A N/A N/A Argument parse error: %s message N/A N/A N/A N/A self print_help N/A N/A N/A sys exit 0 N/A N/A add_subparser N/A N/A command subparsers N/A N/A N/A Given a command name, paasta_cmd, execute the add_subparser method
    implemented in paasta_cmd.py.

    Each paasta client command must implement a method called add_subparser.
    This allows the client to dynamically add subparsers to its subparser, which
    provides the benefits of argcomplete/argparse but gets it done in a modular
    fashion.

    :param command: a simple string - e.g. 'list'
    :param subparsers: an ArgumentParser object N/A module_name N/A paasta_tools.cli.cmds.%s command N/A add_subparser_fn N/A load_method module_name add_subparser N/A N/A add_subparser_fn subparsers N/A get_argparser N/A N/A N/A N/A N/A parser N/A ThrowingArgumentParser description The PaaSTA command line tool. The 'paasta' command is the entry point to multiple subcommands, see below.

You can see more help for individual commands by appending them with '--help', for example, 'paasta status --help' or see the man page with 'man paasta status'. epilog The 'paasta' command line tool is designed to be used by humans, and therefore has command line completion for almost all options and uses pretty formatting when possible. usage N/A argparse SUPPRESS N/A N/A N/A parser add_argument -V --version action version version N/A N/A paasta-tools {0} format N/A N/A N/A pkg_resources get_distribution paasta-tools version N/A subparsers N/A N/A parser add_subparsers help [-h, --help] for subcommand help N/A help_parser N/A N/A subparsers add_parser help add_help False N/A N/A N/A help_parser set_defaults command None N/A command N/A sorted N/A paasta_commands_dir cmds N/A N/A N/A add_subparser command subparsers N/A parser N/A parse_args N/A N/A argv N/A N/A N/A Initialize autocompletion and configure the argument parser.

    :return: an argparse.Namespace object mapping parameter names to the inputs
             from sys.argv
     N/A parser N/A get_argparser N/A N/A N/A argcomplete autocomplete parser N/A N/A N/A N/A parser parse_args argv parser N/A main N/A N/A argv N/A None N/A N/A Perform a paasta call. Read args from sys.argv and pass parsed args onto
    appropriate command in paata_cli/cmds directory.

    Ensure we kill any child pids before we quit
     N/A N/A args parser N/A parse_args argv N/A N/A N/A args command None N/A N/A N/A N/A parser print_help N/A return_code 0 N/A N/A return_code N/A N/A args command args N/A N/A N/A sys exit return_code N/A N/A N/A __name__ __main__ N/A N/A N/A main