Skip to content

Commit

Permalink
fix: Add codemod to main index file to export (#2996)
Browse files Browse the repository at this point in the history
Fixes: #2995

[category:Codemod]

Co-authored-by: manuel.carrera <[email protected]>
  • Loading branch information
mannycarrera4 and manuel.carrera authored Oct 22, 2024
1 parent 4135d71 commit d61f4aa
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 d61f4aa

Please sign in to comment.