def METHOD_NAME() -> argparse.ArgumentParser:
    ap = argparse.ArgumentParser(
        description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
    )
    ap.add_argument(
        "--access-token",
        "-a",
        metavar="HMA_TOKEN",
        help="the acccess token for HMA API",
    )
    ap.add_argument(
        "--api-endpoint",
        "-e",
        metavar="HMA_API_URL",
        help="the url of the HMA API",
    )
    ap.add_argument(
        "--refresh-tf-outputs",
        "-r",
        help="Refresh terraform outputs",
        action="store_true",
    )
    subparsers = ap.add_subparsers(title="sub_commands", help="which action to do")
    for command in get_subcommands():
        command.add_command_to_subparser(subparsers)
    return ap