Class generator
Class generator
ng generate class [name] [--[argument]=[value]]
ng generate cl
Create a class.
Options
project
#
The name of the project.
Type | string |
Default | projectName |
spec
#
Specifies if a spec file is generated.
Type | boolean |
Default | false |
type
#
Specifies the type of class.
Type | string |