"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const yargs = require('yargs/yargs');
const { hideBin } = require('yargs/helpers');
const args = yargs(hideBin(process.argv)).argv;
exports.default = () => {
    const codemodName = args.codemod;
    const codemodPath = path_1.default.resolve(__dirname, `../../codemods/${codemodName}/index.js`);
    const codemod = require(codemodPath);
    codemod.transform();
};
