docs: update the module blueprint docs

This commit is contained in:
Mike Brocchi 2017-03-13 21:19:46 -04:00 committed by Hans
parent 57a67b0014
commit c44620b0ec

View File

@ -6,10 +6,42 @@
`ng generate module [name]` generates an NgModule
## Options
`--app` Specifies app name or index to use.
<details>
<summary>app</summary>
<p>
`--app` (alias: `-a`) _default value: 1st app_
</p>
<p>
Specifies app name to use.
</p>
</details>
`--flat` Flag to indicate if a dir is created.
<details>
<summary>flat</summary>
<p>
`--flat`
</p>
<p>
Flag to indicate if a dir is created.
</p>
</details>
`--spec` Specifies if a spec file is generated.
<details>
<summary>spec</summary>
<p>
`--spec`
</p>
<p>
Specifies if a spec file is generated.
</p>
</details>
`--routing` Specifies if a routing module file should be generated.
<details>
<summary>routing</summary>
<p>
`--routing`
</p>
<p>
Specifies if a routing module file should be generated.
</p>
</details>