Pittan 29c7ba17d3 docs(@angular/cli): add details about generate command
* add an explanation about what --dry-run will output
* add an explanation about what --lint-fix will do
* add an explanation about how to set default  to use lint always
* add an explanation about what --verbose will do
2017-06-06 15:07:33 +01:00

1.3 KiB

ng generate

Overview

ng generate [name] generates the specified blueprint

Available blueprints:

Options

dry-run

--dry-run (aliases: -d) default value: false

Run through without making any changes. Will list all files that would have been created when running ng generate.

lint-fix

--lint-fix (aliases: -lf)

Use lint to fix files after generation.

You can also set default true to use lint every time after generation. To do this, change the value in .angular-cli.json (apps[0].lintFix).

verbose

--verbose (aliases: -v) default value: false

Adds more details to output logging.