Skip to content

Commit

Permalink
Preview PR pingcap/docs#17056 and this preview is triggered from commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Docsite Preview Bot committed Apr 11, 2024
1 parent 899c9a2 commit 6e08719
Show file tree
Hide file tree
Showing 38 changed files with 382 additions and 244 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ To use the `ticloud` CLI in your terminal, run `ticloud [command] [subcommand]`.

| Command | Subcommand | Description |
|--------------------|--------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| auth | login, logout | Login and logout |
| serverless | create, delete, describe, list, update, spending-limit, regions, shell | Manage TiDB Serverless clusters |
| serverless branch | create, delete, describe, list, shell | Manage TiDB Serverless branches |
| serverless export | create, describe, list, cancel, download | Manage TiDB Serverless export jobs |
| serverless import | cancel, describe, list, start | Manage [import](/tidb-cloud/tidb-cloud-migration-overview.md#import-data-from-files-to-tidb-cloud) tasks |
| auth | login, logout | Login and logout |
| serverless import | cancel, describe, list, start | Manage TiDB Serverless [import](/tidb-cloud/tidb-cloud-migration-overview.md#import-data-from-files-to-tidb-cloud) tasks |
| serverless export | create, describe, list, cancel, download | Manage TiDB Serverless export tasks |
| ai | - | Chat with TiDB Bot |
| completion | bash, fish, powershell, zsh | Generate completion script for specified shell |
| config | create, delete, describe, edit, list, set, use | Configure user profiles |
Expand Down
10 changes: 5 additions & 5 deletions markdown-pages/en/tidbcloud/master/tidb-cloud/ticloud-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ summary: The reference of `ticloud ai`.

# ticloud ai

Chat with TiDB Bot
Chat with TiDB Bot:

```shell
ticloud ai [flags]
Expand All @@ -31,16 +31,16 @@ In non-interactive mode, you need to manually enter the required flags. In inter

| Flag | Description | Required | Note |
|--------------------|-----------------------------------|----------|------------------------------------------------------|
| -q, --query string | The query to chat with TiDB Bot | Yes | Only works in non-interactive mode. |
| -h, --help | Help information for this command | No | Works in both non-interactive and interactive modes. |
| -q, --query string | Specifies your query to TiDB Bot. | Yes | Only works in non-interactive mode. |
| -h, --help | Shows help information for this command. | No | Works in both non-interactive and interactive modes. |

## Inherited flags

| Flag | Description | Required | Note |
|----------------------|--------------------------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------------------------------|
| --no-color | Disables color in output. | No | Only works in non-interactive mode. In interactive mode, disabling color might not work with some UI components. |
| -P, --profile string | The active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enable debug mode | No | Works in both non-interactive and interactive modes. |
| -P, --profile string | Specifies the active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enables debug mode. | No | Works in both non-interactive and interactive modes. |

## Feedback

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ summary: The reference of `ticloud auth login`.

# ticloud auth login

Authenticate with the TiDB Cloud:
Authenticate with TiDB Cloud CLI:

```shell
ticloud auth login [flags]
```

## Examples

To start the login for your account:
To log into TiDB Cloud CLI:

```shell
ticloud auht login
ticloud auth login
```

Login with insecure storage:
To log into TiDB Cloud CLI with insecure storage:

```shell
ticloud auht login --insecure-storage
ticloud auth login --insecure-storage
```

## Flags
Expand All @@ -31,16 +31,16 @@ In non-interactive mode, you need to manually enter the required flags. In inter

| Flag | Description | Required | Note |
|--------------------|---------------------------------------------------------------------------|----------|------------------------------------------------------|
| --insecure-storage | Save authentication credentials in plain text instead of credential store | No | Works in both non-interactive and interactive modes. |
| -h, --help | Help information for this command | No | Works in both non-interactive and interactive modes. |
| --insecure-storage | Saves authentication credentials in plain text instead of credential store. | No | Works in both non-interactive and interactive modes. |
| -h, --help | Shows help information for this command. | No | Works in both non-interactive and interactive modes. |

## Inherited flags

| Flag | Description | Required | Note |
|----------------------|--------------------------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------------------------------|
| --no-color | Disables color in output. | No | Only works in non-interactive mode. In interactive mode, disabling color might not work with some UI components. |
| -P, --profile string | The active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enable debug mode | No | Works in both non-interactive and interactive modes. |
| -P, --profile string | Specifies the active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enables debug mode. | No | Works in both non-interactive and interactive modes. |

## Feedback

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ summary: The reference of `ticloud auth logout`.

# ticloud auth logout

Log out of the CLI:
Log out of TiDB Cloud CLI:

```shell
ticloud auth logout [flags]
```

## Examples

To log out of the TiDB Cloud:
To log out of TiDB Cloud CLI:

```shell
ticloud auht logout
ticloud auth logout
```

## Inherited flags

| Flag | Description | Required | Note |
|----------------------|--------------------------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------------------------------|
| --no-color | Disables color in output. | No | Only works in non-interactive mode. In interactive mode, disabling color might not work with some UI components. |
| -P, --profile string | The active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enable debug mode | No | Works in both non-interactive and interactive modes. |
| -P, --profile string | Specifies the active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enables debug mode. | No | Works in both non-interactive and interactive modes. |

## Feedback

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ summary: The reference of `ticloud serverless branch create`.

# ticloud serverless branch create

Create a branch for a serverless cluster:
Create a [branch](/tidb-cloud/branch-overview.md) for a TiDB Serverless cluster:

```shell
ticloud serverless branch create [flags]
```

## Examples

Create a serverless branch in interactive mode:
Create a branch for a TiDB Serverless cluster in interactive mode:

```shell
ticloud serverless branch create
```

Create a serverless branch in non-interactive mode:
Create a branch for a TiDB Serverless cluster in non-interactive mode:

```shell
ticloud serverless branch create --cluster-id <cluster-id> --display-name <branch-name>
Expand All @@ -31,17 +31,17 @@ In non-interactive mode, you need to manually enter the required flags. In inter

| Flag | Description | Required | Note |
|---------------------------|------------------------------------------------------------|----------|-----------------------------------------------------|
| -c, --cluster-id string | The ID of the cluster, in which the branch will be created | Yes | Only works in non-interactive mode. |
| -n, --display-name string | The display name of the branch to be created | Yes | Only works in non-interactive mode. |
| -h, --help | Get help information for this command | No | Works in both non-interactive and interactive modes |
| -c, --cluster-id string | Specifies the ID of the cluster, in which the branch will be created. | Yes | Only works in non-interactive mode. |
| -n, --display-name string | Specifies the name of the branch to be created. | Yes | Only works in non-interactive mode. |
| -h, --help | Shows help information for this command. | No | Works in both non-interactive and interactive modes |

## Inherited flags

| Flag | Description | Required | Note |
|----------------------|------------------------------------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------------------------------|
| --no-color | Disables color in output. | No | Only works in non-interactive mode. In interactive mode, disabling color might not work with some UI components. |
| -P, --profile string | Specifies the active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enable debug mode | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enables debug mode. | No | Works in both non-interactive and interactive modes. |

## Feedback

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ summary: The reference of `ticloud serverless branch delete`.

# ticloud serverless branch delete

Delete a branch from your serverless cluster:
Delete a branch from your TiDB Serverless cluster:

```shell
ticloud serverless branch delete [flags]
Expand All @@ -19,13 +19,13 @@ ticloud serverless branch rm [flags]

## Examples

Delete a serverless branch in interactive mode:
Delete a TiDB Serverless branch in interactive mode:

```shell
ticloud serverless branch delete
```

Delete a serverless branch in non-interactive mode:
Delete a TiDB Serverless branch in non-interactive mode:

```shell
ticloud branch delete --branch-id <branch-id> --cluster-id <cluster-id>
Expand All @@ -37,18 +37,18 @@ In non-interactive mode, you need to manually enter the required flags. In inter

| Flag | Description | Required | Note |
|-------------------------|--------------------------------------------|----------|------------------------------------------------------|
| -b, --branch-id string | The ID of the branch to be deleted | Yes | Only works in non-interactive mode. |
| --force | Deletes a branch without confirmation | No | Works in both non-interactive and interactive modes. |
| -h, --help | Help information for this command | No | Works in both non-interactive and interactive modes. |
| -c, --cluster-id string | The cluster ID of the branch to be deleted | Yes | Only works in non-interactive mode. |
| -b, --branch-id string | Specifies the ID of the branch to be deleted. | Yes | Only works in non-interactive mode. |
| --force | Deletes a branch without confirmation. | No | Works in both non-interactive and interactive modes. |
| -h, --help | Shows help information for this command. | No | Works in both non-interactive and interactive modes. |
| -c, --cluster-id string | Specifies the ID of the cluster. | Yes | Only works in non-interactive mode. |

## Inherited flags

| Flag | Description | Required | Note |
|----------------------|--------------------------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------------------------------|
| --no-color | Disables color in output. | No | Only works in non-interactive mode. In interactive mode, disabling color might not work with some UI components. |
| -P, --profile string | The active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enable debug mode | No | Works in both non-interactive and interactive modes. |
| -P, --profile string | Specifies the active [user profile](/tidb-cloud/cli-reference.md#user-profile) used in this command. | No | Works in both non-interactive and interactive modes. |
| -D, --debug | Enables debug mode. | No | Works in both non-interactive and interactive modes. |

## Feedback

Expand Down
Loading

0 comments on commit 6e08719

Please sign in to comment.