Module Expr Str ImportFrom alias Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias Assign NameStore TupleLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If UnaryOpNot NameLoad body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice Num orelse Assign AttributeStore NameLoad attr ListLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list If Call NameLoad NameLoad body For NameStore NameLoad body Expr Call NameLoad NameLoad orelse Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list If Call NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list If Call NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Return NameLoad Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list If Call NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Return NameLoad Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body If Call NameLoad NameLoad body For NameStore NameLoad body If BoolOpOr CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Return NameLoad orelse Return NameLoad orelse Return CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword NameLoad orelse If NameLoad body Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body For NameStore Call NameLoad NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad Call NameLoad NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A 
clint.arguments
~~~~~~~~~~~~~~~

This module provides the CLI argument interface.

 __future__ absolute_import N/A os sys argv N/A N/A collections OrderedDict N/A N/A N/A ImportError N/A packages.ordereddict OrderedDict utils expand_path is_collection N/A __all__ N/A Args Args N/A object N/A N/A CLI Argument management. __init__ N/A N/A self args no_argv N/A None False N/A N/A N/A args N/A N/A N/A no_argv N/A N/A N/A self _args N/A argv N/A 1 N/A N/A N/A self _args N/A N/A N/A N/A self _args args N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self _args N/A __repr__ N/A N/A self N/A N/A N/A N/A <args %s> N/A repr N/A self _args N/A __getitem__ N/A N/A self i N/A N/A N/A N/A N/A N/A N/A self all N/A i N/A N/A N/A IndexError N/A N/A None N/A __contains__ N/A N/A self x N/A N/A N/A N/A N/A N/A self first x None N/A get N/A N/A self x N/A N/A N/A Returns argument at given index, else none. N/A N/A N/A N/A N/A self all N/A x N/A N/A N/A IndexError N/A N/A None N/A get_with N/A N/A self x N/A N/A N/A Returns first argument that contains given string. N/A N/A N/A self all N/A N/A N/A self first_with x N/A remove N/A N/A self x N/A N/A N/A Removes given arg (or list thereof) from Args object. _remove N/A N/A x N/A N/A N/A found N/A N/A self first x N/A N/A found None N/A N/A N/A N/A N/A self _args pop found N/A N/A N/A is_collection x N/A N/A item x N/A N/A N/A _remove x N/A N/A N/A _remove x N/A pop N/A N/A self x N/A N/A N/A Removes and Returns value at given index, else none. N/A N/A N/A N/A N/A N/A self _args pop x N/A N/A N/A IndexError N/A N/A None N/A any_contain N/A N/A self x N/A N/A N/A Tests if given string is contained in any stored argument. N/A N/A bool N/A N/A self first_with x N/A contains N/A N/A self x N/A N/A N/A Tests if given object is in arguments list.
           Accepts strings and lists of strings. N/A N/A N/A self __contains__ x N/A first N/A N/A self x N/A N/A N/A Returns first found index of given value (or list of values) _find N/A N/A x N/A N/A N/A N/A N/A N/A N/A N/A self all index N/A str x N/A N/A N/A ValueError N/A N/A None N/A N/A N/A is_collection x N/A N/A item x N/A N/A found N/A _find item N/A N/A found None N/A N/A found N/A None N/A N/A N/A _find x N/A first_with N/A N/A self x N/A N/A N/A Returns first found index containing value (or list of values) _find N/A N/A x N/A N/A N/A N/A N/A arg N/A self all N/A N/A N/A x arg N/A N/A N/A N/A N/A self all index arg N/A N/A N/A ValueError N/A N/A None N/A N/A N/A is_collection x N/A N/A item x N/A N/A found N/A _find item N/A found N/A N/A found N/A None N/A N/A N/A _find x N/A first_without N/A N/A self x N/A N/A N/A Returns first found index not containing value (or list of values) _find N/A N/A x N/A N/A N/A N/A N/A arg N/A self all N/A N/A N/A x arg N/A N/A N/A N/A N/A self all index arg N/A N/A N/A ValueError N/A N/A None N/A N/A N/A is_collection x N/A N/A item x N/A N/A found N/A _find item N/A found N/A N/A found N/A None N/A N/A N/A _find x N/A start_with N/A N/A self x N/A N/A N/A Returns all arguments beginning with given string (or list thereof) N/A _args N/A N/A arg N/A self all N/A N/A N/A is_collection x N/A N/A _x x N/A N/A N/A N/A arg startswith x N/A N/A N/A N/A _args append arg N/A N/A N/A N/A N/A arg startswith x N/A N/A N/A N/A _args append arg N/A N/A Args _args no_argv True N/A contains_at N/A N/A self x index N/A N/A N/A Tests if given [list of] string is at given index. N/A N/A N/A N/A is_collection x N/A N/A _x x N/A N/A N/A N/A _x N/A N/A self all N/A index N/A _x N/A N/A self all N/A index N/A N/A True N/A N/A False N/A N/A N/A x N/A N/A self all N/A index N/A N/A N/A IndexError N/A N/A False N/A has N/A N/A self x N/A N/A N/A Returns true if argument exists at given index.
           Accepts: integer.
         N/A N/A N/A N/A N/A self all N/A x N/A True N/A N/A N/A IndexError N/A N/A False N/A value_after N/A N/A self x N/A N/A N/A Returns value of argument after given found argument (or list thereof). N/A N/A N/A N/A N/A i N/A N/A N/A self all index x N/A N/A N/A ValueError N/A N/A None N/A N/A N/A self all N/A N/A i 1 N/A N/A N/A IndexError N/A N/A None N/A grouped N/A N/A self N/A N/A N/A Extracts --flag groups from argument list.
           Returns {format: Args, ...}
         N/A collection N/A OrderedDict _ N/A Args no_argv True N/A _current_group None N/A arg N/A self all N/A N/A N/A N/A arg startswith - N/A N/A _current_group arg N/A N/A N/A collection setdefault arg N/A Args no_argv True N/A N/A _current_group N/A N/A N/A N/A N/A N/A collection N/A _current_group _args append arg N/A N/A N/A N/A N/A N/A collection N/A _ _args append arg N/A collection N/A property last N/A N/A self N/A N/A N/A Returns last argument. N/A N/A N/A N/A N/A self all N/A -1 N/A N/A N/A IndexError N/A N/A None N/A property all N/A N/A self N/A N/A N/A Returns all arguments. N/A N/A self _args N/A property all_with N/A N/A self x N/A N/A N/A Returns all arguments containing given string (or list thereof) N/A _args N/A N/A arg N/A self all N/A N/A N/A is_collection x N/A N/A _x x N/A N/A N/A _x arg N/A N/A N/A N/A _args append arg N/A N/A N/A N/A x arg N/A N/A N/A N/A _args append arg N/A N/A Args _args no_argv True N/A all_without N/A N/A self x N/A N/A N/A Returns all arguments not containing given string (or list thereof) N/A _args N/A N/A arg N/A self all N/A N/A N/A is_collection x N/A N/A _x x N/A N/A N/A _x arg N/A N/A N/A N/A _args append arg N/A N/A N/A N/A x arg N/A N/A N/A N/A _args append arg N/A N/A Args _args no_argv True N/A flags N/A N/A self N/A N/A N/A Returns Arg object including only flagged arguments. N/A N/A N/A self start_with - N/A property not_flags N/A N/A self N/A N/A N/A Returns Arg object excluding flagged arguments. N/A N/A N/A self all_without - N/A property files N/A N/A self absolute N/A False N/A N/A Returns an expanded list of all valid paths that were passed in. N/A _paths N/A N/A arg N/A self all N/A N/A path N/A expand_path arg N/A N/A N/A N/A N/A os path exists path N/A N/A absolute N/A N/A N/A N/A _paths append N/A N/A N/A os path abspath path N/A N/A N/A N/A _paths append path N/A _paths N/A property not_files N/A N/A self N/A N/A N/A Returns a list of all arguments that aren't files/globs. N/A _args N/A N/A arg N/A self all N/A N/A N/A N/A len N/A expand_path arg N/A N/A N/A N/A N/A N/A os path exists arg N/A N/A N/A N/A _args append arg N/A N/A Args _args no_argv True N/A property copy N/A N/A self N/A N/A N/A Returns a copy of Args object for temporary manipulation. N/A N/A Args N/A self all N/A property N/A