def METHOD_NAME() -> int:
    args = parser.parse_args()
    try_setup_sentry()
    add_stdout_logging(logger, level=NAME_LEVEL_MAPPING[args.loglevel])
    if args.test_sentry:
        trigger_sentry()
    try:
        if args.fake:
            sync_fake()
        else:
            sync_production()
    except KeyboardInterrupt:
        logger.fatal("SIGINT received, stopping.")
        logger.info("Re-run the syncer to retain a consistent state.")
        return 1
    return 0