2017-03-23 17:25:30 -07:00

68 lines
1.0 KiB
Markdown

<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
# ng generate pipe
## Overview
`ng generate pipe [name]` generates a pipe
## Options
<details>
<summary>app</summary>
<p>
`--app` (alias: `-a`) _default value: 1st app_
</p>
<p>
Specifies app name to use.
</p>
</details>
<details>
<summary>export</summary>
<p>
`--export`
</p>
<p>
Specifies if declaring module exports the pipe.
</p>
</details>
<details>
<summary>flat</summary>
<p>
`--flat`
</p>
<p>
Flag to indicate if a dir is created.
</p>
</details>
<details>
<summary>module</summary>
<p>
`--module` (alias: `-m`)
</p>
<p>
Allows specification of the declaring module.
</p>
</details>
<details>
<summary>skip-import</summary>
<p>
`--skip-import`
</p>
<p>
Allows for skipping the module import.
</p>
</details>
<details>
<summary>spec</summary>
<p>
`--spec`
</p>
<p>
Specifies if a spec file is generated.
</p>
</details>