def _build_parser():
    
    parser = argparse.ArgumentParser(description='instantly search your ' + \
                                                 'Python error messages on' + \
                                                 ' the web',
                                    formatter_class=argparse.RawTextHelpFormatter)
    parser.add_argument('script', metavar='SCRIPT', type=str, nargs='?',
                        help='the Python script')
    parser.add_argument('arguments', metavar='ARGUMENTS', type=str, nargs='*',
                        help='any arguments to the script')
    parser.add_argument('-p', '--prompt', help='prompt the user rather than immediately searching',
                        action='store_true')
    parser.add_argument('-e', 
                        '--engine', 
                        help="""the search engine to use:
  'default': Google search limited to stackoverflow.com
  'google': Google search of the full web
  'stackoverflow': StackOverflow site search""", 
                        default="default", 
                        choices=['default', 'google', 'stackoverflow'], 
                        metavar="ENGINE",
                        type=str)
    return parser
Runs the pass on a token stream.
dataset/ETHPy150Open danrobinson/tracestack/tracestack/command_line.py/_build_parser--crossover with--dataset/ETHPy150Open google/closure-linter/closure_linter/aliaspass.py/AliasPass.Process