Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad Str ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict Dict body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad SubscriptLoad NameLoad Index NameLoad attr decorator_list If UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Call NameLoad Call NameLoad Call NameLoad Str NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore ListLoad If BoolOpOr CompareEq Call NameLoad NameLoad Num UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Return Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num If UnaryOpNot CompareIn NameLoad NameLoad body Raise NameLoad BinOpMod Str NameLoad If CompareEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Return Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad NameLoad NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad NameLoad NameLoad If UnaryOpNot CompareGt Call NameLoad NameLoad Num body Raise NameLoad BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index Num Return Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam defaults Num body While NameLoad body If CompareEq NameLoad Num body AugAssignAdd NameStore Num Expr Yield NameLoad orelse Expr Yield Str decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args TupleStore NameStore NameStore defaults Call AttributeLoad Str attr TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str NameLoad body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str If UnaryOpNot CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str Return Call NameLoad NameLoad orelse If CompareIn Str NameLoad body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Return NameLoad Return ListLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Pass decorator_list
N/A collections namedtuple textwrap wrap operator add attrgetter itertools repeat N/A ParsedArgs N/A namedtuple ParsedArgs N/A argmap remaining N/A CLArgument N/A namedtuple CLArgument N/A name internal_name type default description parseArgs N/A N/A cllist arg_proto arg_proto_map argmap N/A N/A N/A N/A N/A Parse args from commandline
    Usually takes sys.argv[1:] as cllist
    arg_proto is a list of type CLArgument
     etoi N/A N/A a N/A N/A N/A Maps argument's external (cli name) to internal name N/A N/A N/A arg_proto_map N/A a internal_name N/A N/A N/A N/A bool argmap N/A N/A argmap N/A dict N/A map N/A attrgetter internal_name default arg_proto N/A arg_proto_map N/A dict N/A zip N/A map N/A attrgetter name arg_proto arg_proto N/A N/A cllist N/A N/A cllist N/A N/A N/A N/A N/A len cllist 0 N/A N/A N/A N/A cllist N/A 0 startswith - N/A N/A N/A ParsedArgs argmap cllist N/A cur N/A N/A cllist N/A 0 N/A 1 N/A N/A N/A cur arg_proto_map N/A N/A Exception N/A Unknown argument '%s'
 cur N/A N/A N/A N/A arg_proto_map N/A cur type argflag N/A N/A N/A argmap N/A N/A etoi cur True N/A N/A parseArgs N/A cllist N/A 1 arg_proto arg_proto_map argmap N/A N/A = cur N/A N/A N/A k v N/A N/A cur split = N/A N/A argmap N/A N/A etoi k N/A N/A N/A arg_proto_map N/A k type v N/A N/A parseArgs N/A cllist N/A 1 arg_proto arg_proto_map argmap N/A N/A N/A N/A len cllist 1 N/A N/A Exception N/A Dangling arg '%s'
 cur N/A N/A argmap N/A N/A etoi cur N/A N/A N/A arg_proto_map N/A cur type N/A cllist N/A 1 N/A N/A parseArgs N/A cllist N/A 2 arg_proto arg_proto_map argmap N/A getHelpStr N/A N/A description arguments N/A N/A N/A description should just be a string
    
    arguments should be a list of type CLArgument
     N/A LEFT_COL_PADDING 25 N/A WRAP_SIZE 50 N/A ostring N/A description once N/A N/A param times N/A 0 N/A N/A True N/A N/A N/A times 0 N/A N/A times 1 N/A N/A param N/A N/A N/A N/A N/A wrap_s WRAP_SIZE N/A d N/A reduce add N/A map N/A N/A N/A x N/A N/A zip N/A once N/A - N/A x name N/A wrap N/A x description wrap_s arguments N/A pad LEFT_COL_PADDING N/A ostring N/A N/A join N/A map N/A N/A N/A N/A left right N/A N/A N/A join N/A N/A N/A left ljust pad right d N/A ostring N/A argrange N/A N/A a N/A N/A N/A N/A : a N/A N/A arr N/A map int N/A N/A a split : N/A N/A N/A N/A len arr 3 N/A N/A Exception Invalid range, must be in format start:stop:step N/A N/A range arr N/A N/A N/A , a N/A N/A arr N/A map int N/A N/A a split , N/A arr N/A N/A N/A int a N/A arglist N/A N/A a N/A N/A N/A delim None N/A N/A , a N/A N/A delim , N/A N/A N/A a split delim N/A argflag N/A N/A N/A N/A N/A N/A