Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
docs: update CLI usage examples and global options to English
  • Loading branch information
sy-records committed Jul 27, 2026
commit 36a2f4a964bad4437ff5bd2de3a10dfaf7d0d6f1
72 changes: 36 additions & 36 deletions e2e/cli.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ Generated by [AVA](https://avajs.dev).

> Snapshot 1

`例子: docsify <init|serve> [path]␊
`Usage: docsify <init|serve> [path]␊
␊
Commands:␊
docsify init [path] 创建 docs [aliases: i]␊
docsify serve [path] 本地预览 [aliases: s]␊
docsify generate [path] docsify 的生成器 [aliases: g]␊
docsify init [path] Creates new docs [aliases: i]␊
docsify serve [path] Run local server to preview site. [aliases: s]␊
docsify generate [path] Docsify's generators [aliases: g]␊
␊
全局选项␊
--help, -h 帮助 [布尔]␊
--version, -v 当前版本号 [布尔]␊
Global Options␊
--help, -h Show help [boolean]␊
--version, -v Show version number [boolean]␊
␊
文档地址:␊
Documentation:␊
https://docsifyjs.github.io/docsify␊
https://docsifyjs.github.io/docsify-cli␊
␊
开发:␊
Development:␊
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
␊
[ERROR] 0 arguments passed. Please specify a command`
Expand All @@ -32,44 +32,44 @@ Generated by [AVA](https://avajs.dev).

> Snapshot 1

`例子: docsify <init|serve> [path]␊
`Usage: docsify <init|serve> [path]␊
␊
Commands:␊
docsify init [path] 创建 docs [aliases: i]␊
docsify serve [path] 本地预览 [aliases: s]␊
docsify generate [path] docsify 的生成器 [aliases: g]␊
docsify init [path] Creates new docs [aliases: i]␊
docsify serve [path] Run local server to preview site. [aliases: s]␊
docsify generate [path] Docsify's generators [aliases: g]␊
␊
全局选项␊
--help, -h 帮助 [布尔]␊
--version, -v 当前版本号 [布尔]␊
Global Options␊
--help, -h Show help [boolean]␊
--version, -v Show version number [boolean]␊
␊
文档地址:␊
Documentation:␊
https://docsifyjs.github.io/docsify␊
https://docsifyjs.github.io/docsify-cli␊
␊
开发:␊
Development:␊
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md`

## shows help with --help flag

> Snapshot 1

`例子: docsify <init|serve> [path]␊
`Usage: docsify <init|serve> [path]␊
␊
Commands:␊
docsify init [path] 创建 docs [aliases: i]␊
docsify serve [path] 本地预览 [aliases: s]␊
docsify generate [path] docsify 的生成器 [aliases: g]␊
docsify init [path] Creates new docs [aliases: i]␊
docsify serve [path] Run local server to preview site. [aliases: s]␊
docsify generate [path] Docsify's generators [aliases: g]␊
␊
全局选项␊
--help, -h 帮助 [布尔]␊
--version, -v 当前版本号 [布尔]␊
Global Options␊
--help, -h Show help [boolean]␊
--version, -v Show version number [boolean]␊
␊
文档地址:␊
Documentation:␊
https://docsifyjs.github.io/docsify␊
https://docsifyjs.github.io/docsify-cli␊
␊
开发:␊
Development:␊
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md`

## shows version information with -v flag
Expand All @@ -94,22 +94,22 @@ Generated by [AVA](https://avajs.dev).

> Snapshot 1

`例子: docsify <init|serve> [path]␊
`Usage: docsify <init|serve> [path]␊
␊
Commands:␊
docsify init [path] 创建 docs [aliases: i]␊
docsify serve [path] 本地预览 [aliases: s]␊
docsify generate [path] docsify 的生成器 [aliases: g]␊
docsify init [path] Creates new docs [aliases: i]␊
docsify serve [path] Run local server to preview site. [aliases: s]␊
docsify generate [path] Docsify's generators [aliases: g]␊
␊
全局选项␊
--help, -h 帮助 [布尔]␊
--version, -v 当前版本号 [布尔]␊
Global Options␊
--help, -h Show help [boolean]␊
--version, -v Show version number [boolean]␊
␊
文档地址:␊
Documentation:␊
https://docsifyjs.github.io/docsify␊
https://docsifyjs.github.io/docsify-cli␊
␊
开发:␊
Development:␊
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
␊
Unknown argument: junkcmd`
Binary file modified e2e/cli.test.js.snap
Binary file not shown.
Loading