diff --git a/modules/codemod/index.js b/modules/codemod/index.js index f52a5ab1d6..09010d36e9 100755 --- a/modules/codemod/index.js +++ b/modules/codemod/index.js @@ -74,6 +74,13 @@ const { describe: chalk.gray('The path to execute the transform in (recursively).'), }); }) + .command('v12 [path]', chalk.gray('Canvas Kit v11 > v12 upgrade transform'), yargs => { + yargs.positional('path', { + type: 'string', + default: '.', + describe: chalk.gray('The path to execute the transform in (recursively).'), + }); + }) .demandCommand(1, chalk.red.bold('You must provide a transform to apply.')) .strictCommands() .fail((msg, err, yargs) => {