#NEWLINE# def __init__( self , name = '' , version = '' , usage = '' , about = '' , author = '' , main = _null_func ) : #NEWLINE# #INDENT# 'Initializes a new version of the App class\n        PARAMS:\n            name: A string representing the name of the application\n            version: A string representing the version of the application\n            about: A string that displays what the application briefly doesn\n            main: A function which accepts a dict() and the starting point of\n                  the app will be called after all command line argumetns have\n                  been processed\n        ' #NEWLINE# self . _name = name #NEWLINE# self . _author = author #NEWLINE# self . _version = version #NEWLINE# self . _args_map = dict ( ) #NEWLINE# self . _raw_args = sys . argv #NEWLINE# if ( ( self . _raw_args [ 0 ] [ 0 ] == '.' ) and ( self . _raw_args [ 0 ] [ 1 ] == '/' ) ) : #NEWLINE# #INDENT# self . _raw_args [ 0 ] = self . _raw_args [ 0 ] [ 2 : ] #NEWLINE# #UNINDENT# self . _about = about #NEWLINE# self . _usage = usage #NEWLINE# self . _has_main = False #NEWLINE# if ( main != _null_func ) : #NEWLINE# #INDENT# self . _has_main = True #NEWLINE# #UNINDENT# self . _main = self #NEWLINE# self . _context = dict ( ) #NEWLINE# self . _subcmds_map = dict ( ) #NEWLINE# self . _subcmds = [ ] #NEWLINE# self . _req_opts = [ ] #NEWLINE# self . _flags = [ ] #NEWLINE# self . _req_pos_args = [ ] #NEWLINE# self . _pos_args = [ ] #NEWLINE# self . _opts = [ ]