nx/docs/generated/cli/connect.md
Benjamin Cabanes f95059917d
feat(nx-cloud): add 'generate-token' option to connect (#27678)
This update introduces a new 'genreate-token' option to force local
token creation. It ensures tokens are not created for GitHub-based
setups unless explicitly overridden. Adjustments include updated logic
in the generator function and schema to accommodate the new option.
2024-08-29 09:29:58 -04:00

43 lines
597 B
Markdown

---
title: 'connect - CLI command'
description: 'Connect workspace to Nx Cloud'
---
# connect
Connect workspace to Nx Cloud
## Usage
```shell
nx connect
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
## Options
### generateToken
Type: `boolean`
Explicitly asks for a token to be created, do not override existing tokens from Nx Cloud
### help
Type: `boolean`
Show help
### verbose
Type: `boolean`
Prints additional information about the commands (e.g., stack traces)
### version
Type: `boolean`
Show version number