#NEWLINE# def setup_parser( name , module , subparsers ) : #NEWLINE# #INDENT# doc = module . __doc__ #NEWLINE# docSubject = doc . splitlines ( ) [ 0 ] #NEWLINE# docEpilog = '\n' . join ( doc . splitlines ( ) [ 1 : ] ) #NEWLINE# parser = subparsers . add_parser ( name , formatter_class = argparse . RawDescriptionHelpFormatter , help = docSubject , description = docSubject , epilog = docEpilog , fromfile_prefix_chars = module . getFromfilePrefixChars ( ) ) #NEWLINE# module . setupParser ( parser ) #NEWLINE# parser . set_defaults ( func = module . process )