Class generator

ng generate class [name] [--[argument]=[value]]
ng generate cl

Create a class.

Options

--lintFix#

When true, applies lint fixes after generating the class.

Type boolean
Default false

--project#

The name of the project.

Type string
Default projectName

--skipTests#

When true, does not create "spec.ts" test files for the new class.

Type boolean
Default false

--type#

Adds a developer-defined type to the filename, in the format name.type.ts.

Type string