<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->

# ng generate module

## Overview
`ng generate module [name]` generates an NgModule

## Options
<details>
  <summary>app</summary>
  <p>
    <code>--app</code> (aliases: <code>-a</code>) <em>default value: 1st app</em>
  </p>
  <p>
    Specifies app name to use.
  </p>
</details>

<details>
  <summary>flat</summary>
  <p>
    <code>--flat</code>
  </p>
  <p>
    Flag to indicate if a dir is created.
  </p>
</details>

<details>
  <summary>module</summary>
  <p>
    <code>--module</code> (aliases: <code>-m</code>)
  </p>
  <p>
    Specifies where the module should be imported.
  </p>
</details>

<details>
  <summary>spec</summary>
  <p>
    <code>--spec</code>
  </p>
  <p>
    Specifies if a spec file is generated.
  </p>
</details>

<details>
  <summary>routing</summary>
  <p>
    <code>--routing</code>
  </p>
  <p>
    Specifies if a routing module file should be generated.
  </p>
</details>


