mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:01:22 +08:00
CLI: Migration required
This commit is contained in:
parent
eeb8f65034
commit
73c03524a3
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user