Skip to content

Commit 77bdb9b

Browse files
elevenpassinmischah
authored andcommittedNov 1, 2017
Add documentation for running local generators (#547)
1 parent ab77908 commit 77bdb9b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎lib/usage.txt

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Install a generator:
1515
$ npm install generator-angular
1616
$ yo angular --help
1717

18+
Run local generators:
19+
20+
Additionally, you can also run local generators without installing via npm.
21+
22+
$ yo ./path/to/some/generator
23+
1824
Completion:
1925

2026
To enable shell completion for the yo command, try running

‎readme.md

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ yo webapp
2727

2828
*To create and distribute your own generator, refer to [our official documentation](http://yeoman.io/authoring/)*
2929

30+
You can also run a local generator on your computer as such:
31+
32+
```sh
33+
# Running a local generator
34+
yo ./path/to/local/generator
35+
```
3036

3137
## Options
3238

0 commit comments

Comments
 (0)
Please sign in to comment.