def METHOD_NAME(options=None):
    parser = argparse.ArgumentParser(description="Run pipeline tasks of a "
        "single type")
    parser.add_argument("--tasktype", required=False, default=None,
        help="The type of the input tasks.")
    parser.add_argument("--force", required=False, default=False,
        action="store_true", help="Run tasks regardless of DB or file state.")
    parser.add_argument("--nodb", required=False, default=False,
        action="store_true", help="Do not use the production database.")
    parser.add_argument("--taskfile", required=False, default=None,
        help="Use a file containing the list of tasks.  If not specified, "
        "use --task or read list of tasks from STDIN")
    parser.add_argument("--task", required=False, default=None,
        help="Single task to run")
    args = None
    if options is None:
        args = parser.parse_args()
    else:
        args = parser.parse_args(options)
    return args