mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +08:00
1.0 KiB
1.0 KiB
ng generate pipe
Overview
ng generate pipe [name]
generates a pipe
Options
app
`--app` (alias: `-a`) _default value: 1st app_
Specifies app name to use.
export
`--export`
Specifies if declaring module exports the pipe.
flat
`--flat`
Flag to indicate if a dir is created.
module
`--module` (alias: `-m`)
Allows specification of the declaring module.
skip-import
`--skip-import`
Allows for skipping the module import.
spec
`--spec`
Specifies if a spec file is generated.