Angular 6 References/ CLI
References

Enum generator

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

Create an enumeration.

Options

--project#

The name of the project.
Type string

--lintFix#

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