mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:31:08 +08:00
Update CLI docs
This commit is contained in:
parent
a36e84e750
commit
84b2bd0684
@ -2,8 +2,6 @@
|
||||
|
||||
Storybook CLI (_Command Line Interface_) is the easiest way to add [Storybook](https://github.com/storybookjs/storybook) to your project.
|
||||
|
||||
In the future it will also add other useful generators and migration tooling.
|
||||
|
||||

|
||||
|
||||
Just go to your project and run:
|
||||
@ -13,7 +11,13 @@ cd my-app
|
||||
npx -p @storybook/cli sb init
|
||||
```
|
||||
|
||||
That's all you've to do.
|
||||
In addition to `init`, the CLI also has other commands:
|
||||
|
||||
- `add` - add an addon and register it
|
||||
- `info` - print out system information for bug reports
|
||||
- `migrate` - run codemods to migrate your code
|
||||
|
||||
See the command-line help with `-h` for details.
|
||||
|
||||
---
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user