35 lines
578 B
Markdown
35 lines
578 B
Markdown
---
|
|
title: 'workspace-generator - CLI command'
|
|
description: 'Runs a workspace generator from the tools/generators directory'
|
|
---
|
|
|
|
# workspace-generator
|
|
|
|
Runs a workspace generator from the tools/generators directory
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
nx workspace-generator
|
|
```
|
|
|
|
[Install `nx` globally](/getting-started/nx-setup#install-nx) to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpx nx`.
|
|
|
|
## Options
|
|
|
|
### help
|
|
|
|
Show help
|
|
|
|
### list-generators
|
|
|
|
List the available workspace-generators
|
|
|
|
### name
|
|
|
|
The name of your generator`
|
|
|
|
### version
|
|
|
|
Show version number
|