def METHOD_NAME() -> int:
    parser = argparse.ArgumentParser(prog='nom_rollback',
                                     description=MAIN_HELP)
    subparsers = parser.add_subparsers(dest='command',
                                       help='Supported commands')
    rollback_parser = subparsers.add_parser(
        'rollback',
        help=ROLLBACK_HELP,
        formatter_class=argparse.RawTextHelpFormatter)
    for flag in ARGUMENTS:
        rollback_parser.add_argument(*flag.arg_names, **flag.get_arg_attrs())
    for flag in ROLLBACK_ARGUMENTS:
        rollback_parser.add_argument(*flag.arg_names, **flag.get_arg_attrs())
    show_serving_release_parser = subparsers.add_parser(
        'show_serving_release', help=GET_SERVING_RELEASE_HELP)
    for flag in ARGUMENTS:
        show_serving_release_parser.add_argument(*flag.arg_names,
                                                 **flag.get_arg_attrs())
    show_recent_deployments_parser = subparsers.add_parser(
        'show_recent_deployments', help=GET_RECENT_DEPLOYMENTS_HELP)
    for flag in ARGUMENTS:
        show_recent_deployments_parser.add_argument(*flag.arg_names,
                                                    **flag.get_arg_attrs())
    args = parser.parse_args()
    command = args.command
    args = {k: v for k, v in vars(args).items() if k != 'command'}
    {
        'rollback': rollback,
        'show_recent_deployments': show_recent_deployments,
        'show_serving_release': show_serving_release
    }[command](**args)
    return 0