From 82de45cbd005d677b726ced721474b024d7a2055 Mon Sep 17 00:00:00 2001 From: Majid Hajian Date: Thu, 22 Feb 2024 11:30:17 +0100 Subject: [PATCH] docs: Add token to list of cli commands (#46) * Chore(doc): Add token to list of cli commands * doc: fix token --- docs.yaml | 2 ++ docs/cli/commands/token.mdx | 4 ++-- docs/cli/index.mdx | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs.yaml b/docs.yaml index 9d8f18f5..fdfc2178 100644 --- a/docs.yaml +++ b/docs.yaml @@ -32,6 +32,8 @@ sidebar: - "/cli/commands/unlink" - - Login - "/cli/commands/login" + - - Token + - "/cli/commands/token" - - Logout - "/cli/commands/logout" - - Update diff --git a/docs/cli/commands/token.mdx b/docs/cli/commands/token.mdx index f349dfa3..5ff91466 100644 --- a/docs/cli/commands/token.mdx +++ b/docs/cli/commands/token.mdx @@ -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. @@ -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 diff --git a/docs/cli/index.mdx b/docs/cli/index.mdx index a174c6b9..5f311e79 100644 --- a/docs/cli/index.mdx +++ b/docs/cli/index.mdx @@ -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.