nx/docs/angular/api-workspace/schematics/workspace-schematic.md
2020-11-17 19:31:08 -05:00

572 B

workspace-schematic

Generates a workspace schematic

Usage

nx 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:

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

Show what will be generated without writing to disk:

nx g workspace-schematic ... --dry-run

Options

name

Type: string

Schematic name

skipFormat

Default: false

Type: boolean

Skip formatting files