Angular 7 References/ CLI

Enum generator

This is the documentation for Angular 7.
You can switch to the latest version Angular 10.
ng generate enum [name] [--[argument]=[value]]
ng generate e

Create an enumeration.



Specifies whether to apply lint fixes after generating the enum.
Type boolean
Default false


The name of the project.
Type string