generate - rbinsztock/angular-cli GitHub Wiki
Documentation below is for CLI version 6. For version 7 see here.
ng generate [name] generates the specified schematic
g - ng g [name]
- class
- component
- directive
- enum
- guard
- interface
- module
- pipe
- service
- appShell
- application
- library
- universal
dry-run
--dry-run (alias: -d)
Run through without making any changes.
force
--force (alias: -f)
Forces overwriting of files.