nx/docs/angular/api-workspace/schematics/workspace-schematic.md
2019-08-21 11:56:21 -04:00

572 B

workspace-schematic

Generates a workspace schematic

Usage

ng generate workspace-schematic ...

By default, Nx will search for workspace-schematic in the default collection provisioned in angular.json.

You can specify the collection explicitly as follows:

ng g @nrwl/workspace:workspace-schematic ...

Show what will be generated without writing to disk:

ng g workspace-schematic ... --dry-run

Options

name

Type: string

Schematic name

skipFormat

Default: false

Type: boolean

Skip formatting files