Update README.md

This commit is contained in:
Michael Shilman 2019-07-17 10:09:00 +08:00 committed by GitHub
parent 65b608c4db
commit df5ba456c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,10 @@ To get a list of available codemods:
npx -p @storybook/cli sb migrate --list
```
To run a codemod:
To run a codemod `<name-of-codemod>`:
```
npx -p @storybook/cli sb migrate name-of-codemod --glob "**/*.stories.js"
npx -p @storybook/cli sb migrate <name-of-codemod> --glob "**/*.stories.js"
```
## Installation