<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> N/A ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> When running `npx nx login`, a file server should open and take you to Nx Cloud to create a new personal access token. When running `npx nx logout`, the user should be prompted with Nx Cloud URLs of instances that they can revoke personal access tokens to. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
37 lines
450 B
Markdown
37 lines
450 B
Markdown
---
|
|
title: 'logout - CLI command'
|
|
description: 'Logout from Nx Cloud'
|
|
---
|
|
|
|
# logout
|
|
|
|
Logout from Nx Cloud
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
nx logout
|
|
```
|
|
|
|
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
|
|
|
|
## Options
|
|
|
|
### help
|
|
|
|
Type: `boolean`
|
|
|
|
Show help
|
|
|
|
### verbose
|
|
|
|
Type: `boolean`
|
|
|
|
Prints additional information about the commands (e.g., stack traces)
|
|
|
|
### version
|
|
|
|
Type: `boolean`
|
|
|
|
Show version number
|