version
alias: V
打印版本信息。与 generate 一样不需要 logger 与配置,可在任何目录直接运行。
参数
| 参数 | 别名 | 说明 |
|---|---|---|
--json | -j | 以 JSON 输出 |
示例
$ thurgio version
thurgio 0.18.0
$ thurgio version --json
{"name":"thurgio","version":"0.18.0"}
服务器端对应 GET /v 端点(含 git 快照后缀时两者一致),见 API 参考。
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help