Skip to content

Commit 9bf1b4f

Browse files
committed
docs: add info command to cli reference
1 parent 1f30993 commit 9bf1b4f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

docs/reference/cli.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ Usage:
1111
Commands:
1212
dev [sourceDir] Start development server
1313
build [sourceDir] Build to static site
14+
info Display environment information
1415

1516
For more info, run any command with the `--help` flag:
1617
$ vuepress dev --help
1718
$ vuepress build --help
19+
$ vuepress info --help
1820

1921
Options:
2022
-v, --version Display version number
21-
-h, --help Display this message
23+
-h, --help Display this message
2224
```
2325

2426
## dev
@@ -61,3 +63,9 @@ Options:
6163
-v, --version Display version number
6264
-h, --help Display this message
6365
```
66+
67+
## info
68+
69+
Outputs information about your system and dependencies.
70+
71+
This command would be helpful when you want to check your environment or report an issue.

docs/zh/reference/cli.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ Usage:
1111
Commands:
1212
dev [sourceDir] Start development server
1313
build [sourceDir] Build to static site
14+
info Display environment information
1415

1516
For more info, run any command with the `--help` flag:
1617
$ vuepress dev --help
1718
$ vuepress build --help
19+
$ vuepress info --help
1820

1921
Options:
2022
-v, --version Display version number
21-
-h, --help Display this message
23+
-h, --help Display this message
2224
```
2325

2426
## dev
@@ -61,3 +63,9 @@ Options:
6163
-v, --version Display version number
6264
-h, --help Display this message
6365
```
66+
67+
## info
68+
69+
输出当前系统和依赖相关的信息。
70+
71+
在你想要检查你的环境,或者提交 Issue 时候,可以使用该命令。

0 commit comments

Comments
 (0)