Skip to content

Commit

Permalink
fix: Add codemod to main index file to export
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Oct 22, 2024
1 parent 4135d71 commit 490371d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/codemod/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 490371d

Please sign in to comment.