def parse_args()

in reproduce.py [0:0]


def parse_args():
    parser = argparse.ArgumentParser(description=__doc__.split('\n')[0])
    parser.add_argument("swift_branch")
    parser.add_argument("--project-path",
                        metavar="PATH",
                        help="relative repo path to specific project to build "
                             "(default: build all)")
    parser.add_argument("--swiftc",
                        metavar="PATH",
                        help="use specified swiftc instead of building "
                             "(default: build Swift)")
    parser.add_argument("--add-swift-flags",
                        metavar="FLAGS",
                        help='add flags to each Swift invocation',
                        default='')
    parser.add_argument("--skip-cleanup",
                        help="don't delete source and build directories",
                        action="store_true")
    parser.add_argument("--skip-swift-build",
                        help="don't invoke build-script",
                        action="store_true")
    parser.add_argument("--no-prompt",
                        help="default yes to all prompts",
                        action="store_true")
    parser.add_argument('--sandbox-profile-xcodebuild',
                        metavar='FILE',
                        help='sandbox xcodebuild build and test operations '
                             'with profile',
                        type=os.path.abspath)
    parser.add_argument('--sandbox-profile-package',
                        metavar='FILE',
                        help='sandbox package build and test operations with '
                             'profile',
                        type=os.path.abspath)
    parser.add_argument("--assertions",
                        help='Build Swift with asserts',
                        action='store_true')
    return parser.parse_args()