# ng generate module ## Overview `ng generate module [name]` generates an NgModule ## Options app `--app` (alias: `-a`) _default value: 1st app_ Specifies app name to use. flat `--flat` Flag to indicate if a dir is created. spec `--spec` Specifies if a spec file is generated. routing `--routing` Specifies if a routing module file should be generated.
`--app` (alias: `-a`) _default value: 1st app_
Specifies app name to use.
`--flat`
Flag to indicate if a dir is created.
`--spec`
Specifies if a spec file is generated.
`--routing`
Specifies if a routing module file should be generated.