mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
858 B
858 B
Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see here.
ng generate enum
Overview
ng generate enum [name]
generates an enumeration
Alias
e - ng generate e [name]
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.