Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add token to list of cli commands #46

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ sidebar:
- "/cli/commands/unlink"
- - Login
- "/cli/commands/login"
- - Token
- "/cli/commands/token"
- - Logout
- "/cli/commands/logout"
- - Update
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/commands/token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ globe token create

or in-lined by providing necessary arguments

- `--name`- specify name to identity the token.
- `--name`- specify a name to identity the token.
- `--expiry` - specify lifespan of the token.
- `--project` - specify projects(s) to associate the token with.

Expand All @@ -38,7 +38,7 @@ globe token list

# Delete Token

The `delete` command allows you to delete token by providing token ID.
The `delete` command allows you to delete a token by providing a token ID.

## Usage

Expand Down
1 change: 1 addition & 0 deletions docs/cli/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ The Globe CLI provides the following commands, which can be accessed by running
- [`logout`](/cli/commands/logout) - Logout of your Globe account.
- [`link`](/cli/commands/link) - Link a local project to a Globe project.
- [`unlink`](/cli/commands/unlink) - Unlink a local project from a Globe project.
- [`token`](/cli/commands/token) - Create, Delete & List globe auth tokens from the command line.
- [`update`](/cli/commands/update) - Updates the CLI to the latest version.
- [`build-logs`](/cli/commands/build-logs) - View build logs for a given deployment ID.

Expand Down
Loading