From 0dfa81599169d5b3c0b4985be138434ee003bd2d Mon Sep 17 00:00:00 2001 From: dingbo Date: Fri, 17 Jun 2022 08:34:36 +0800 Subject: [PATCH] docs: cli --- docs/en/07-tools/01-cli.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/en/07-tools/01-cli.md b/docs/en/07-tools/01-cli.md index 8b854584b3..5417743d0f 100644 --- a/docs/en/07-tools/01-cli.md +++ b/docs/en/07-tools/01-cli.md @@ -15,8 +15,8 @@ To run TDengine CLI to access TDengine cloud, please install [TDengine client in ## Config - - + + Run this command in your Linux terminal to save your URL and token as variable: @@ -25,7 +25,7 @@ export TDENGINE_CLOUD_DSN="" ``` - + Run this command in your Windows terminal to save your URL and token as variable: @@ -34,7 +34,7 @@ set TDENGINE_CLOUD_DSN="" ``` - + Run this command in your Mac terminal to save your URL and token as variable: @@ -45,8 +45,10 @@ export TDENGINE_CLOUD_DSN="" - - +## Connect + + + To access the TDengine Cloud, you can execute `taos` if you already set the environment variable. @@ -61,7 +63,7 @@ taos -E $TDENGINE_CLOUD_DSN ``` - + To access the TDengine Cloud, you can execute `taos` if you already set the environment variable. @@ -76,7 +78,7 @@ taos.exe -E $TDENGINE_CLOUD_DSN ``` - + To access the TDengine Cloud, you can execute `taos` if you already set the environment variable. @@ -93,7 +95,7 @@ taos -E $TDENGINE_CLOUD_DSN -## using TDengine CLI +## Using TDengine CLI TDengine CLI will display a welcome message and version information if it successfully connected to the TDengine service. If it fails, TDengine CLI will print an error message. See [FAQ](/train-faq/faq) to solve the problem of terminal connection failure to the server. The TDengine CLI prompts as follows: -- GitLab