Skip to content

Commit

Permalink
Merge 445381b into fbb341e
Browse files Browse the repository at this point in the history
  • Loading branch information
sripberger committed Jul 3, 2019
2 parents fbb341e + 445381b commit 0857958
Show file tree
Hide file tree
Showing 8 changed files with 274 additions and 271 deletions.
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -125,7 +125,7 @@ function init() {
});

// Lookup for every namespaces, within the environments.paths and lookups
env.lookup(() => {
env.lookup(firstCmd.opts.localOnly || false, () => {
const generatorList = createGeneratorList(env);

// List generators
Expand Down
5 changes: 3 additions & 2 deletions lib/usage.txt
Expand Up @@ -6,7 +6,8 @@ General options:
--version # Print version
--no-color # Disable colors
--[no-]insight # Toggle anonymous tracking
--generators # Print available generators
--generators # Print available generators
--local-only # Disable lookup of globally-installed generators

Install a generator:

Expand All @@ -16,7 +17,7 @@ Install a generator:
$ yo angular --help

Run local generators:

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

$ yo ./path/to/some/generator
Expand Down

0 comments on commit 0857958

Please sign in to comment.