nx/docs/angular/api-workspace/generators/workspace-generator.md
Craigory V Coppola a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00

637 B

@nrwl/workspace:workspace-generator

Generates a workspace generator

Usage

nx generate workspace-generator ...
nx g workspace-schematic ... # same

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

You can specify the collection explicitly as follows:

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

Show what will be generated without writing to disk:

nx g workspace-generator ... --dry-run

Options

name

Type: string

Generator name

skipFormat

Default: false

Type: boolean

Skip formatting files