daodou-command 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,11 @@ npm install -g daodou-command
|
|
|
20
20
|
- 自动翻译功能(Google Translate API)
|
|
21
21
|
- 多代理轮换绕过API限制
|
|
22
22
|
|
|
23
|
+
### 🔄 自动更新
|
|
24
|
+
- 智能版本检查和更新
|
|
25
|
+
- 一键升级到最新版本
|
|
26
|
+
- 支持强制更新和仅检查模式
|
|
27
|
+
|
|
23
28
|
## 快速开始
|
|
24
29
|
|
|
25
30
|
### 构建项目
|
|
@@ -29,6 +34,18 @@ cd your-project
|
|
|
29
34
|
dao build
|
|
30
35
|
```
|
|
31
36
|
|
|
37
|
+
### 检查更新
|
|
38
|
+
```bash
|
|
39
|
+
# 检查是否有新版本
|
|
40
|
+
dao upgrade --check
|
|
41
|
+
|
|
42
|
+
# 更新到最新版本
|
|
43
|
+
dao upgrade
|
|
44
|
+
|
|
45
|
+
# 强制更新
|
|
46
|
+
dao upgrade --force
|
|
47
|
+
```
|
|
48
|
+
|
|
32
49
|
### 多语言管理
|
|
33
50
|
```bash
|
|
34
51
|
# 添加多语言项(自动翻译)
|
|
@@ -79,6 +96,14 @@ dao build --branch feature # 指定分支构建
|
|
|
79
96
|
dao build --help # 查看帮助
|
|
80
97
|
```
|
|
81
98
|
|
|
99
|
+
### 更新命令
|
|
100
|
+
```bash
|
|
101
|
+
dao upgrade # 检查并更新到最新版本
|
|
102
|
+
dao upgrade --check # 仅检查是否有新版本
|
|
103
|
+
dao upgrade --force # 强制更新到最新版本
|
|
104
|
+
dao upgrade --help # 查看帮助
|
|
105
|
+
```
|
|
106
|
+
|
|
82
107
|
### 多语言命令
|
|
83
108
|
```bash
|
|
84
109
|
dao lang add "key" "value" # 添加多语言项
|