Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpAnd CompareIs NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Return NameLoad orelse Return Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign AttributeStore NameLoad attr Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore Call NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Assign NameStore Call NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore BinOpMod Str NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpAdd ListLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Num ExceptHandler type NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Num ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Print BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num ExceptHandler type NameLoad name NameStore body Import alias Print Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Print Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Return Print AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call NameLoad Call NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad Str Str For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
usage: gaffer [--version] [-f procfile|--procfile procfile]
              [-d root|--root root] [-e path|--env path]...
              [--certfile=CERTFILE] [--keyfile=KEYFILE] [--cacert=CACERT]
              [-g url|--gafferd-http-address url]
              [--api-key API_KEY] <command> [<args>...]

Options

    -h --help                           show this help message and exit
    --version                           show version and exit
    -f procfile,--procfile procfile     Specify an alternate Procfile to load
    -d root,--root root                 Specify an alternate application root
                                        This defaults to the  directory
                                        containing the Procfile [default: .]
    -e path,--env path                  Specify one or more .env files to load
    -g url --gafferd-http-address url   gafferd node HTTP address to connect
                                        [default: http://127.0.0.1:5000]
    --api-key API_KEY                   API Key to access to gaffer
    --certfile=CERTFILE                 SSL certificate file
    --keyfile=KEYFILE                   SSL key file
    --cacert=CACERT                     SSL CA certificate

 N/A N/A N/A configparser N/A N/A N/A ImportError N/A N/A ConfigParser configparser N/A os N/A sys N/A tornado N/A __version__ docopt docopt printable_usage gafferd.util user_path default_user_path httpclient Server GafferUnauthorized GafferForbidden procfile Procfile get_env util is_ssl commands get_commands Config N/A object N/A __init__ N/A N/A self args N/A N/A N/A N/A self args args N/A N/A N/A self args N/A --env N/A N/A N/A self envs N/A list N/A set N/A N/A self args N/A --env N/A N/A N/A self envs N/A .env N/A N/A self env N/A get_env N/A self envs N/A N/A self procfile N/A N/A self _init_procfile N/A N/A self user_config_path N/A N/A self get_user_config N/A N/A self user_config N/A N/A configparser RawConfigParser N/A N/A N/A N/A os path isfile N/A self user_config_path N/A N/A N/A open N/A self user_config_path f N/A N/A N/A N/A N/A self user_config readfp f N/A node_section N/A node "%s" N/A args N/A --gafferd-http-address N/A N/A N/A N/A N/A self user_config has_section node_section N/A N/A N/A N/A N/A self user_config add_section node_section N/A N/A N/A self parse_ssl_options node_section N/A api_key N/A N/A self args N/A --api-key N/A N/A N/A api_key None N/A N/A N/A self user_config has_option node_section key N/A N/A api_key N/A N/A N/A self user_config get node_section key N/A N/A self server N/A Server N/A N/A self args N/A --gafferd-http-address api_key api_key N/A self client_options N/A get N/A N/A self N/A attrs N/A N/A ret N/A N/A name attrs N/A N/A N/A N/A ret append N/A getattr self name N/A N/A N/A len ret 1 N/A N/A N/A ret N/A 0 N/A N/A tuple ret N/A use_procfile N/A N/A self N/A N/A N/A N/A isinstance N/A self procfile Procfile N/A property gafferd_address N/A N/A self N/A N/A N/A N/A N/A self args N/A --gafferd-http-address N/A property _init_procfile N/A N/A self N/A N/A N/A procfile Procfile N/A N/A N/A self args N/A --procfile N/A N/A procfile N/A N/A self args N/A --procfile N/A N/A N/A self args N/A --root N/A N/A root N/A N/A self args N/A --root N/A N/A root N/A N/A N/A N/A os path dirname procfile . N/A N/A N/A N/A N/A os path isfile procfile N/A N/A N/A N/A N/A self args N/A --procfile None N/A N/A N/A RuntimeError N/A procfile %r not found procfile N/A N/A None N/A N/A N/A Procfile procfile root root envs N/A self envs N/A parse_ssl_options N/A N/A self node_section N/A N/A N/A N/A self client_options N/A N/A N/A N/A N/A self user_config has_option node_section certfile N/A N/A N/A N/A self client_options N/A client_cert N/A N/A N/A self user_config get node_section cerfile N/A N/A N/A N/A self user_config has_option node_section keyfile N/A N/A N/A N/A self client_options N/A client_key N/A N/A N/A self user_config get node_section keyfile N/A N/A N/A N/A self user_config has_option node_section cacert N/A N/A N/A N/A self client_options N/A ca_certs N/A N/A N/A self user_config get node_section cacert N/A N/A N/A N/A self args N/A --certfile None N/A N/A N/A N/A self client_options N/A client_cer N/A N/A self args N/A --certfile N/A N/A N/A N/A self args N/A --keyfile None N/A N/A N/A N/A self client_options N/A client_key N/A N/A self args N/A --keyfile N/A N/A N/A N/A self args N/A --cacert None N/A N/A N/A self client_options N/A ca_certs N/A N/A self args N/A --cacert N/A get_user_config N/A N/A self N/A N/A N/A N/A GAFFER_CONFIG N/A os environ N/A N/A N/A N/A N/A os environ get GAFFER_CONFIG N/A path N/A user_path N/A N/A config_file N/A N/A N/A os path join path gaffer.ini N/A N/A N/A N/A os path isfile config_file N/A N/A config_file N/A config_dir N/A default_user_path N/A N/A N/A N/A N/A os path isdir config_dir N/A N/A N/A N/A os makedirs config_dir N/A N/A N/A N/A os path join config_dir gaffer.ini N/A N/A GafferCli N/A object N/A __init__ N/A N/A self argv N/A None N/A N/A N/A self commands N/A get_commands N/A version_str N/A gaffer version %s __version__ N/A N/A self doc_str N/A %s%s N/A __doc__ N/A N/A self _commands_help N/A N/A self args N/A docopt N/A self doc_str argv argv version version_str options_first True N/A run N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self args N/A <command> lower help N/A N/A N/A N/A self display_help N/A N/A cmdname N/A N/A self args N/A <command> N/A N/A cmdname N/A self commands N/A N/A N/A Unknown command: %r cmdname N/A N/A N/A self display_help N/A N/A N/A sys exit 1 N/A cmd N/A N/A self commands N/A cmdname N/A cmd_argv N/A N/A cmdname N/A N/A self args N/A <args> N/A cmd_args N/A docopt N/A cmd __doc__ argv cmd_argv N/A N/A N/A config N/A Config N/A self args N/A N/A N/A RuntimeError N/A e N/A N/A N/A N/A N/A sys stderr write N/A config error: %s N/A str e N/A N/A N/A sys exit 1 N/A cmd N/A N/A self commands N/A cmdname N/A N/A N/A N/A N/A cmd run config cmd_args N/A N/A N/A GafferUnauthorized N/A N/A Unauthorized access. You need an API key N/A N/A N/A sys exit 1 N/A N/A GafferForbidden N/A N/A Forbidden access. API key permissions aren't enough N/A N/A N/A sys exit 1 N/A N/A N/A N/A tornado httpclient HTTPError N/A e N/A N/A N/A HTTP Error: %s
 N/A str e N/A N/A N/A sys exit 1 N/A N/A RuntimeError N/A e N/A N/A N/A N/A N/A sys stderr write N/A %s
 N/A str e N/A N/A N/A sys exit 1 N/A N/A Exception N/A e N/A N/A traceback N/A N/A N/A traceback format_exc N/A N/A N/A N/A sys stderr write N/A %s
 N/A str e N/A N/A N/A sys exit 1 N/A N/A N/A sys exit 0 N/A display_help N/A N/A self N/A N/A N/A N/A N/A self args N/A <args> N/A N/A name N/A N/A N/A self args N/A <args> N/A 0 N/A N/A name N/A self commands N/A N/A cmd N/A N/A self commands N/A name N/A N/A printable_usage N/A N/A N/A self commands N/A name __doc__ N/A N/A N/A self doc_str N/A _commands_help N/A N/A self N/A N/A N/A commands N/A N/A name N/A name N/A self commands N/A help N/A max_len N/A len N/A max commands key len N/A output N/A Commands N/A name commands N/A N/A N/A name help N/A N/A desc Get help on a command N/A N/A N/A output append N/A     %-*s	%s N/A max_len name desc N/A N/A cmd N/A N/A self commands N/A name N/A N/A N/A output append N/A     %-*s	%s N/A max_len name N/A cmd short_descr N/A N/A N/A output append N/A N/A N/A join output N/A N/A main N/A N/A N/A N/A N/A cli N/A GafferCli N/A N/A N/A cli run N/A N/A N/A __name__ __main__ N/A N/A N/A main