Guard generator

ng generate guard [name] [--[argument]=[value]]
ng generate g

Create a guard.

Options

flat#

Flag to indicate if a dir is created.

Type boolean
Default true

lintFix#

Specifies whether to apply lint fixes after generating the guard.

Type boolean
Default false

project#

The name of the project.

Type string

spec#

Specifies if a spec file is generated.

Type boolean
Default true