Skip to content

Commit

Permalink
docs(init): update init documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 committed Sep 29, 2018
1 parent 3844671 commit 2ccf9a9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/init/README.md
Expand Up @@ -27,6 +27,19 @@ init([null, null, ...myPacakges]);
```

### CLI (via `webpack-cli`)
**For `default` generator**

```bash
npx webpack-cli init
```
```
**For `addon` generator**
1. Using package on `npm`

```bash
npx webpack-cli init webpack-scaffold-[name]
```
2. Using path to local directory

```bash
npx webapck-cli init [path]
```

0 comments on commit 2ccf9a9

Please sign in to comment.