mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +08:00
18 lines
476 B
Markdown
18 lines
476 B
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
|
|
`--flat` flag to indicate if a dir is created
|
|
|
|
`--spec` specifies if a spec file is generated
|
|
|
|
`--skip-import` allows for skipping the module import
|
|
|
|
`--module` (`-m`) allows specification of the declaring module
|
|
|
|
`--export` specifies if declaring module exports the pipe
|