mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
1.4 KiB
1.4 KiB
ng generate pipe
Overview
ng generate pipe [name]
generates a pipe
Options
dry-run
--dry-run
(alias: -d
)
Run through without making any changes.
force
--force
(alias: -f
)
Forces overwriting of files.
project
--project
The name of the project.
flat
--flat
Flag to indicate if a dir is created.
spec
--spec
Specifies if a spec file is generated.
skip-import
--skip-import
Allows for skipping the module import.
module
--module
(alias: -m
)
Allows specification of the declaring module.
export
--export
Specifies if declaring module exports the pipe.