# ng generate ## Overview `ng generate [name]` generates the specified blueprint ## Available blueprints: - [class](generate/class) - [component](generate/component) - [directive](generate/directive) - [enum](generate/enum) - [guard](generate/guard) - [interface](generate/interface) - [module](generate/module) - [pipe](generate/pipe) - [service](generate/service) ## 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 (defaults.lintFix).

verbose

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

Adds more details to output logging.

collection

--collection (aliases: -c) default value: @schematics/angular

Schematics collection to use.