Skip to content

Commit

Permalink
Add documentation for running local generators (yeoman#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevenpassin authored and mischah committed Nov 1, 2017
1 parent ab77908 commit 77bdb9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Install a generator:
$ npm install generator-angular
$ yo angular --help

Run local generators:

Additionally, you can also run local generators without installing via npm.

$ yo ./path/to/some/generator

Completion:

To enable shell completion for the yo command, try running
Expand Down
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ yo webapp

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

You can also run a local generator on your computer as such:

```sh
# Running a local generator
yo ./path/to/local/generator
```

## Options

Expand Down

0 comments on commit 77bdb9b

Please sign in to comment.