CLI: Migration required

This commit is contained in:
Michael Shilman 2019-07-14 13:36:25 +08:00
parent eeb8f65034
commit 73c03524a3

View File

@ -49,7 +49,7 @@ if (process.argv[1].includes('getstorybook')) {
}); });
program program
.command('migrate [migration]') .command('migrate <migration>')
.description('Run a storybook codemod migration on your source files') .description('Run a storybook codemod migration on your source files')
.option('-l --list', 'List available migrations') .option('-l --list', 'List available migrations')
.option('-g --glob <glob>', 'Glob for files upon which to apply the migration', '**/*.js') .option('-g --glob <glob>', 'Glob for files upon which to apply the migration', '**/*.js')