- Adds nx sync to command reference - Updates nx.json reference - Update project configuration reference - Adds a sync generators concept page - Adds a Register a Sync Generator recipe under Extending Nx Recipes --------- Co-authored-by: James Henry <james@henry.sc>
25 lines
830 B
Markdown
25 lines
830 B
Markdown
---
|
|
title: 'sync - CLI command'
|
|
description: 'Sync the workspace files by running all the sync generators.'
|
|
---
|
|
|
|
# sync
|
|
|
|
Sync the workspace files by running all the sync generators.
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
nx sync
|
|
```
|
|
|
|
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
|
|
|
|
## Options
|
|
|
|
| Option | Type | Description |
|
|
| ----------- | ------- | ---------------------------------------------------------------------- |
|
|
| `--help` | boolean | Show help. |
|
|
| `--verbose` | boolean | Prints additional information about the commands (e.g., stack traces). |
|
|
| `--version` | boolean | Show version number. |
|