@zzclub/z-cli 0.7.1 → 1.0.0

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.
Files changed (64) hide show
  1. package/LICENSE +20 -20
  2. package/dist/commands/config.d.ts +9 -0
  3. package/dist/commands/config.d.ts.map +1 -0
  4. package/dist/commands/config.js +33 -0
  5. package/dist/commands/config.js.map +1 -0
  6. package/dist/commands/set.d.ts +11 -0
  7. package/dist/commands/set.d.ts.map +1 -0
  8. package/dist/commands/set.js +43 -0
  9. package/dist/commands/set.js.map +1 -0
  10. package/dist/commands/tiny/compressor.d.ts +11 -0
  11. package/dist/commands/tiny/compressor.d.ts.map +1 -0
  12. package/dist/commands/tiny/compressor.js +46 -0
  13. package/dist/commands/tiny/compressor.js.map +1 -0
  14. package/dist/commands/tiny/file-processor.d.ts +40 -0
  15. package/dist/commands/tiny/file-processor.d.ts.map +1 -0
  16. package/dist/commands/tiny/file-processor.js +137 -0
  17. package/dist/commands/tiny/file-processor.js.map +1 -0
  18. package/dist/commands/tiny/index.d.ts +15 -0
  19. package/dist/commands/tiny/index.d.ts.map +1 -0
  20. package/dist/commands/tiny/index.js +55 -0
  21. package/dist/commands/tiny/index.js.map +1 -0
  22. package/dist/commands/tiny/types.d.ts +55 -0
  23. package/dist/commands/tiny/types.d.ts.map +1 -0
  24. package/dist/commands/tiny/types.js +5 -0
  25. package/dist/commands/tiny/types.js.map +1 -0
  26. package/dist/core/config-manager.d.ts +38 -0
  27. package/dist/core/config-manager.d.ts.map +1 -0
  28. package/dist/core/config-manager.js +87 -0
  29. package/dist/core/config-manager.js.map +1 -0
  30. package/dist/core/logger.d.ts +17 -0
  31. package/dist/core/logger.d.ts.map +1 -0
  32. package/dist/core/logger.js +30 -0
  33. package/dist/core/logger.js.map +1 -0
  34. package/dist/index.d.ts +3 -0
  35. package/dist/index.d.ts.map +1 -0
  36. package/dist/index.js +177 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/types/config.d.ts +32 -0
  39. package/dist/types/config.d.ts.map +1 -0
  40. package/dist/types/config.js +18 -0
  41. package/dist/types/config.js.map +1 -0
  42. package/dist/types/index.d.ts +4 -0
  43. package/dist/types/index.d.ts.map +1 -0
  44. package/dist/types/index.js +3 -0
  45. package/dist/types/index.js.map +1 -0
  46. package/package.json +34 -19
  47. package/readme.md +457 -0
  48. package/CHANGELOG.md +0 -211
  49. package/README.md +0 -329
  50. package/src/command/config.js +0 -97
  51. package/src/command/i18n.js +0 -318
  52. package/src/command/index.js +0 -30
  53. package/src/command/picgo.js +0 -122
  54. package/src/command/replace.js +0 -81
  55. package/src/command/set.js +0 -47
  56. package/src/command/tiny.js +0 -328
  57. package/src/command/translate.js +0 -337
  58. package/src/config.json +0 -16
  59. package/src/index.js +0 -31
  60. package/src/translate-api/index.js +0 -77
  61. package/src/translate-api/md5.js +0 -231
  62. package/src/utils/common.js +0 -218
  63. package/src/utils/file.js +0 -61
  64. package/src/utils/picgo.js +0 -149
package/readme.md ADDED
@@ -0,0 +1,457 @@
1
+ # z-cli
2
+
3
+ **轻量级图片压缩命令行工具 | Lightweight Image Compression CLI Tool**
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@zzclub/z-cli?style=flat&color=18181B&colorB=F0DB4F)](https://npmjs.com/package/@zzclub/z-cli)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue?style=flat&logo=typescript)](https://www.typescriptlang.org/)
7
+ [![Bun](https://img.shields.io/badge/Bun-1.0+-F472B6?style=flat&logo=bun)](https://bun.sh)
8
+ [![License](https://img.shields.io/npm/l/@zzclub/z-cli?style=flat&color=18181B)](https://github.com/aatrooox/z-cli/blob/main/LICENSE)
9
+
10
+ 基于 [Sharp](https://sharp.pixelplumbing.com/) 的高性能图片压缩工具,使用 TypeScript 开发,支持 Node.js 和 Bun。
11
+
12
+ ## ✨ 特性
13
+
14
+ - 🚀 **高性能压缩** - 基于 Sharp (libvips),比传统工具快 4-5 倍
15
+ - 📦 **多格式支持** - JPEG, PNG, WebP 等主流图片格式
16
+ - 🎯 **智能处理** - 自动选择最佳压缩算法(JPEG: mozjpeg, PNG: pngquant)
17
+ - 📁 **批量处理** - 支持递归处理整个目录
18
+ - ⚙️ **灵活配置** - 持久化配置,命令行参数优先级更高
19
+ - 💻 **跨平台** - Windows, macOS, Linux 全平台支持
20
+ - 🔧 **TypeScript** - 完整类型支持,可用于 Skills 集成
21
+
22
+ ## 📦 安装
23
+
24
+ ### 使用 Bun(推荐)
25
+
26
+ Bun 是更快的 JavaScript 运行时,推荐使用。
27
+
28
+ ```bash
29
+ # 安装 Bun
30
+ curl -fsSL https://bun.sh/install | bash # macOS/Linux
31
+ # 或
32
+ powershell -c "irm bun.sh/install.ps1 | iex" # Windows
33
+
34
+ # 全局安装 z-cli
35
+ bun install -g @zzclub/z-cli
36
+ ```
37
+
38
+ ### 使用 Node.js
39
+
40
+ ```bash
41
+ # 要求 Node.js >= 18.18.0
42
+ npm install -g @zzclub/z-cli
43
+ # 或
44
+ pnpm add -g @zzclub/z-cli
45
+ ```
46
+
47
+ ## 🚀 快速开始
48
+
49
+ ### 基础用法
50
+
51
+ ```bash
52
+ # 压缩单个图片(默认质量 75)
53
+ z tiny -f ./image.jpg
54
+
55
+ # 指定压缩质量(1-100,数值越高质量越好)
56
+ z tiny -f ./image.jpg -q 80
57
+
58
+ # 压缩整个目录
59
+ z tiny -f ./images -r
60
+
61
+ # 覆盖原文件
62
+ z tiny -f ./image.jpg -o
63
+
64
+ # 指定输出目录
65
+ z tiny -f ./image.jpg --output ./compressed
66
+ ```
67
+
68
+ ### 命令别名
69
+
70
+ 支持三种命令别名,完全等价:
71
+
72
+ ```bash
73
+ z tiny -f ./image.jpg
74
+ zz tiny -f ./image.jpg
75
+ z-cli tiny -f ./image.jpg
76
+ ```
77
+
78
+ ## 📖 命令详解
79
+
80
+ ### `tiny` - 图片压缩
81
+
82
+ 压缩单个文件或整个目录的图片。
83
+
84
+ ```bash
85
+ z tiny [options]
86
+ ```
87
+
88
+ **选项:**
89
+
90
+ | 选项 | 别名 | 类型 | 默认值 | 说明 |
91
+ |------|------|------|--------|------|
92
+ | `--file <path>` | `-f` | string | - | 要压缩的文件或目录路径(必需) |
93
+ | `--quality <1-100>` | `-q` | number | 75 | 压缩质量,1-100 之间 |
94
+ | `--recursive` | `-r` | boolean | false | 递归处理目录 |
95
+ | `--overwrite` | `-o` | boolean | false | 覆盖原文件 |
96
+ | `--output <dir>` | - | string | - | 指定输出目录 |
97
+ | `--help` | `-h` | - | - | 显示帮助信息 |
98
+
99
+ **支持的图片格式:**
100
+ - JPEG / JPG (mozjpeg 优化)
101
+ - PNG (pngquant 优化)
102
+ - WebP
103
+
104
+ **示例:**
105
+
106
+ ```bash
107
+ # 压缩单个图片,质量 80
108
+ z tiny -f ./photo.jpg -q 80
109
+
110
+ # 递归压缩目录下所有图片
111
+ z tiny -f ./images -r
112
+
113
+ # 覆盖原文件
114
+ z tiny -f ./photo.jpg -o
115
+
116
+ # 输出到指定目录
117
+ z tiny -f ./images -r --output ./dist
118
+
119
+ # 组合使用
120
+ z tiny -f ./images -r -q 90 --output ./compressed
121
+ ```
122
+
123
+ **压缩效果示例:**
124
+
125
+ ```
126
+ ✔ 压缩成功: 21.83 KB → 5.88 KB (减少 73.1%)
127
+
128
+ ╭───────────────────╮
129
+ │ │
130
+ │ 压缩完成 │
131
+ │ │
132
+ │ 总文件数: 5 │
133
+ │ 成功: 5 │
134
+ │ 失败: 0 │
135
+ │ 总原始大小: 2.1 MB │
136
+ │ 总压缩后大小: 580 KB │
137
+ │ 平均压缩率: 72.4% │
138
+ │ │
139
+ ╰───────────────────╯
140
+ ```
141
+
142
+ ### `set` - 更新配置
143
+
144
+ 设置默认配置,影响后续所有命令。
145
+
146
+ ```bash
147
+ z set [options]
148
+ ```
149
+
150
+ **选项:**
151
+
152
+ | 选项 | 别名 | 类型 | 说明 |
153
+ |------|------|------|------|
154
+ | `--quality <1-100>` | `-q` | number | 设置默认压缩质量 |
155
+ | `--recursive` | `-r` | boolean | 设置默认是否递归 |
156
+ | `--overwrite` | `-o` | boolean | 设置默认是否覆盖 |
157
+ | `--output <dir>` | - | string | 设置默认输出目录 |
158
+
159
+ **示例:**
160
+
161
+ ```bash
162
+ # 设置默认质量为 90
163
+ z set -q 90
164
+
165
+ # 设置默认递归处理
166
+ z set -r
167
+
168
+ # 设置默认覆盖原文件
169
+ z set -o
170
+
171
+ # 设置默认输出目录
172
+ z set --output ./compressed
173
+
174
+ # 一次设置多个
175
+ z set -q 85 -r --output ./dist
176
+ ```
177
+
178
+ ### `config` - 查看/管理配置
179
+
180
+ 查看当前配置或管理配置文件。
181
+
182
+ ```bash
183
+ z config [options]
184
+ ```
185
+
186
+ **选项:**
187
+
188
+ | 选项 | 说明 |
189
+ |------|------|
190
+ | `--path` | 显示配置文件路径 |
191
+ | `--reset` | 重置配置为默认值 |
192
+ | 无参数 | 显示当前配置(JSON 格式) |
193
+
194
+ **示例:**
195
+
196
+ ```bash
197
+ # 查看当前配置
198
+ z config
199
+
200
+ # 查看配置文件路径
201
+ z config --path
202
+
203
+ # 重置为默认配置
204
+ z config --reset
205
+ ```
206
+
207
+ **配置文件位置:**
208
+ - Windows: `C:\Users\<用户名>\.zzclub-z-cli\config.json`
209
+ - macOS/Linux: `~/.zzclub-z-cli/config.json`
210
+
211
+ **默认配置:**
212
+
213
+ ```json
214
+ {
215
+ "tiny": {
216
+ "quality": 80,
217
+ "recursive": false,
218
+ "overwrite": false,
219
+ "outputDir": null,
220
+ "verbose": false
221
+ }
222
+ }
223
+ ```
224
+
225
+ ## 🔌 Skills 集成指南
226
+
227
+ 如果你想在 OpenCode Skills 或其他自动化工具中使用 z-cli,可以通过以下方式集成:
228
+
229
+ ### 方式 1: 直接调用命令
230
+
231
+ ```typescript
232
+ // 在 skill 中使用 bash 工具调用
233
+ import { bash } from './tools';
234
+
235
+ // 压缩图片
236
+ await bash('z tiny -f ./images -r -q 85');
237
+
238
+ // 获取配置
239
+ await bash('z config');
240
+ ```
241
+
242
+ ### 方式 2: 编程调用(需要源码集成)
243
+
244
+ ```typescript
245
+ // 如果需要编程式调用,可以直接导入模块
246
+ import { ImageCompressor } from '@zzclub/z-cli/dist/commands/tiny/compressor.js';
247
+ import { FileProcessor } from '@zzclub/z-cli/dist/commands/tiny/file-processor.js';
248
+
249
+ // 创建压缩器
250
+ const compressor = new ImageCompressor({ quality: 80 });
251
+
252
+ // 压缩单个文件
253
+ const result = await compressor.compress('./image.jpg', './output.jpg');
254
+ console.log(`压缩率: ${result.compressionRatio}%`);
255
+
256
+ // 批量处理
257
+ const processor = new FileProcessor(compressor, {
258
+ recursive: true,
259
+ overwrite: false,
260
+ outputDir: './compressed'
261
+ });
262
+
263
+ const stats = await processor.process('./images');
264
+ console.log(`成功: ${stats.successful}, 失败: ${stats.failed}`);
265
+ ```
266
+
267
+ ### 方式 3: 在 MCP Skill 中配置
268
+
269
+ 如果你要创建一个图片压缩 Skill,可以在 `skill.json` 中配置:
270
+
271
+ ```json
272
+ {
273
+ "name": "image-compressor",
274
+ "version": "1.0.0",
275
+ "description": "使用 z-cli 压缩图片",
276
+ "dependencies": {
277
+ "@zzclub/z-cli": "^1.0.0"
278
+ },
279
+ "commands": {
280
+ "compress": {
281
+ "command": "z tiny -f {{file}} -q {{quality}} {{flags}}",
282
+ "parameters": {
283
+ "file": {
284
+ "type": "string",
285
+ "required": true,
286
+ "description": "要压缩的文件或目录"
287
+ },
288
+ "quality": {
289
+ "type": "number",
290
+ "default": 80,
291
+ "description": "压缩质量 (1-100)"
292
+ },
293
+ "flags": {
294
+ "type": "string",
295
+ "default": "",
296
+ "description": "额外的标志,如 -r -o"
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+ ```
303
+
304
+ ### 方式 4: 作为子进程调用
305
+
306
+ ```typescript
307
+ import { spawn } from 'child_process';
308
+
309
+ function compressImage(file: string, quality: number = 80): Promise<void> {
310
+ return new Promise((resolve, reject) => {
311
+ const process = spawn('z', ['tiny', '-f', file, '-q', quality.toString()]);
312
+
313
+ process.on('close', (code) => {
314
+ if (code === 0) resolve();
315
+ else reject(new Error(`压缩失败,退出码: ${code}`));
316
+ });
317
+ });
318
+ }
319
+
320
+ // 使用
321
+ await compressImage('./image.jpg', 85);
322
+ ```
323
+
324
+ ## 🛠️ 开发
325
+
326
+ ### 克隆仓库
327
+
328
+ ```bash
329
+ git clone https://github.com/aatrooox/z-cli.git
330
+ cd z-cli
331
+ ```
332
+
333
+ ### 安装依赖
334
+
335
+ ```bash
336
+ # 使用 Bun(推荐)
337
+ bun install
338
+
339
+ # 或使用 pnpm
340
+ pnpm install
341
+ ```
342
+
343
+ ### 开发模式
344
+
345
+ ```bash
346
+ # 直接运行 TypeScript 源码
347
+ bun run dev
348
+
349
+ # 或
350
+ bun run src/index.ts tiny -f ./demo/demo3.jpeg -q 80
351
+ ```
352
+
353
+ ### 构建
354
+
355
+ ```bash
356
+ # 编译 TypeScript
357
+ bun run build
358
+
359
+ # 类型检查
360
+ bun run type-check
361
+ ```
362
+
363
+ ### 本地测试
364
+
365
+ ```bash
366
+ # 链接到全局
367
+ npm link # 或 bun link
368
+
369
+ # 测试命令
370
+ z tiny -f ./demo/demo3.jpeg -q 80
371
+ ```
372
+
373
+ ### 发布
374
+
375
+ ```bash
376
+ # 发布补丁版本 (1.0.0 -> 1.0.1)
377
+ bun run release:patch
378
+
379
+ # 发布次要版本 (1.0.0 -> 1.1.0)
380
+ bun run release:minor
381
+
382
+ # 发布主要版本 (1.0.0 -> 2.0.0)
383
+ bun run release:major
384
+ ```
385
+
386
+ ## 📊 性能对比
387
+
388
+ 基于 Sharp (libvips) 的性能优势:
389
+
390
+ | 工具 | 处理 100 张图片 (平均) | 内存占用 |
391
+ |------|------------------------|----------|
392
+ | z-cli (Sharp) | ~2.5s | ~50MB |
393
+ | ImageMagick | ~12s | ~200MB |
394
+ | GraphicsMagick | ~10s | ~180MB |
395
+
396
+ ## 🤝 贡献
397
+
398
+ 欢迎提出新需求或贡献代码!
399
+
400
+ 1. Fork 本仓库
401
+ 2. 创建特性分支 (`git checkout -b feature/AmazingFeature`)
402
+ 3. 提交更改 (`git commit -m 'Add some AmazingFeature'`)
403
+ 4. 推送到分支 (`git push origin feature/AmazingFeature`)
404
+ 5. 提交 Pull Request
405
+
406
+ ## 📝 更新日志
407
+
408
+ ### v1.0.0 (2026-01-20)
409
+
410
+ **🎉 重大重构 - TypeScript 重写**
411
+
412
+ - ✅ 完全使用 TypeScript 重写
413
+ - ✅ 简化功能,专注于图片压缩
414
+ - ✅ 移除 Commander.js,使用原生 CLI 实现
415
+ - ✅ 使用 Consola 统一日志输出
416
+ - ✅ 支持 Bun 运行时
417
+ - ✅ 完整的类型定义
418
+ - ❌ 移除 `translate` 命令(i18n 翻译)
419
+ - ❌ 移除 `picgo` 命令(图床上传)
420
+ - ❌ 移除 `i18n` 命令(Vue i18n 提取)
421
+
422
+ **迁移指南:**
423
+
424
+ 如果你需要旧版本的翻译功能,请使用 v0.8.0:
425
+ ```bash
426
+ npm install -g @zzclub/z-cli@0.8.0
427
+ ```
428
+
429
+ 或切换到备份分支:
430
+ ```bash
431
+ git checkout backup/v0.8.0
432
+ ```
433
+
434
+ ## 📄 许可证
435
+
436
+ [MIT License](./LICENSE) © 2026 aatrox
437
+
438
+ ## 📮 联系方式
439
+
440
+ - 作者:aatrox
441
+ - GitHub:[@aatrooox](https://github.com/aatrooox)
442
+ - 项目地址:[github.com/aatrooox/z-cli](https://github.com/aatrooox/z-cli)
443
+ - 微信:523748995(定制需求或技术支持)
444
+
445
+ ## ⚠️ 免责声明
446
+
447
+ 任何用户在使用 z-cli 前,请您仔细阅读并透彻理解本声明。您可以选择不使用 z-cli,若您一旦使用 z-cli,您的使用行为即被视为对本声明全部内容的认可和接受。
448
+
449
+ 1. 任何单位或个人因下载使用 z-cli 而产生的任何意外、疏忽、合约毁坏、诽谤、版权或知识产权侵犯及其造成的损失(包括但不限于直接、间接、附带或衍生的损失等),本人不承担任何法律责任。
450
+
451
+ 2. 任何单位或个人不得在未经本团队书面授权的情况下对 z-cli 工具本身申请相关的知识产权。
452
+
453
+ 3. 如果本声明的任何部分被认为无效或不可执行,则该部分将被解释为反映本人的初衷,其余部分仍具有完全效力。不可执行的部分声明,并不构成我放弃执行该声明的权利。
454
+
455
+ ---
456
+
457
+ **⭐ 如果这个工具对你有帮助,欢迎给个 Star!**
package/CHANGELOG.md DELETED
@@ -1,211 +0,0 @@
1
- # Changelog
2
-
3
-
4
- ## v0.7.1
5
-
6
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.7.0...v0.7.1)
7
-
8
- ### 📖 Documentation
9
-
10
- - 更新说明 ([459c72f](https://github.com/aatrooox/z-cli/commit/459c72f))
11
-
12
- ### ❤️ Contributors
13
-
14
- - Aatrox <gnakzz@qq.com>
15
-
16
- ## v0.7.0
17
-
18
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.6.2...v0.7.0)
19
-
20
- ### 🚀 Enhancements
21
-
22
- - 剔除axios改为原生fetch ([6ca4bda](https://github.com/aatrooox/z-cli/commit/6ca4bda))
23
-
24
- ### 🏡 Chore
25
-
26
- - **release:** V0.7.0 ([2c21466](https://github.com/aatrooox/z-cli/commit/2c21466))
27
- - **release:** V0.8.0 ([61441e4](https://github.com/aatrooox/z-cli/commit/61441e4))
28
- - **release:** V0.7.1 ([3044a7f](https://github.com/aatrooox/z-cli/commit/3044a7f))
29
- - Rollback ([f348572](https://github.com/aatrooox/z-cli/commit/f348572))
30
-
31
- ### ❤️ Contributors
32
-
33
- - Aatrox <gnakzz@qq.com>
34
-
35
- ## v0.7.1
36
-
37
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.8.0...v0.7.1)
38
-
39
- ## v0.8.0
40
-
41
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.7.0...v0.8.0)
42
-
43
- ### 🚀 Enhancements
44
-
45
- - 剔除axios改为原生fetch ([6ca4bda](https://github.com/aatrooox/z-cli/commit/6ca4bda))
46
-
47
- ### ❤️ Contributors
48
-
49
- - Aatrox <gnakzz@qq.com>
50
-
51
- ## v0.7.0
52
-
53
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.6.2...v0.7.0)
54
-
55
- ## v0.6.2
56
-
57
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.6.1...v0.6.2)
58
-
59
- ### 🚀 Enhancements
60
-
61
- - I18n 缩写;更新文档 ([2662396](https://github.com/aatrooox/z-cli/commit/2662396))
62
-
63
- ### ❤️ Contributors
64
-
65
- - Aatrox <gnakzz@qq.com>
66
-
67
- ## v0.6.1
68
-
69
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.6.0...v0.6.1)
70
-
71
- ### 📖 Documentation
72
-
73
- - 更新文档说明 ([259328c](https://github.com/aatrooox/z-cli/commit/259328c))
74
-
75
- ### ❤️ Contributors
76
-
77
- - Aatrox <gnakzz@qq.com>
78
-
79
- ## v0.6.0
80
-
81
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.4...v0.6.0)
82
-
83
- ### 🚀 Enhancements
84
-
85
- - 改造i18n,使其能够直接提取中文 ([bb05eac](https://github.com/aatrooox/z-cli/commit/bb05eac))
86
-
87
- ### ❤️ Contributors
88
-
89
- - Aatrox <gnakzz@qq.com>
90
-
91
- ## v0.5.4
92
-
93
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.3...v0.5.4)
94
-
95
- ### 🚀 Enhancements
96
-
97
- - 增加node版本提示 ([5eb02cb](https://github.com/aatrooox/z-cli/commit/5eb02cb))
98
-
99
- ### ❤️ Contributors
100
-
101
- - Aatrox <gnakzz@qq.com>
102
-
103
- ## v0.5.3
104
-
105
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.2...v0.5.3)
106
-
107
- ### 🩹 Fixes
108
-
109
- - 优化提示 ([5d8e6f6](https://github.com/aatrooox/z-cli/commit/5d8e6f6))
110
-
111
- ### ❤️ Contributors
112
-
113
- - Aatrox <gnakzz@qq.com>
114
-
115
- ## v0.5.2
116
-
117
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.1...v0.5.2)
118
-
119
- ### 🩹 Fixes
120
-
121
- - 翻译功能bug ([603625c](https://github.com/aatrooox/z-cli/commit/603625c))
122
-
123
- ### ❤️ Contributors
124
-
125
- - Aatrox <gnakzz@qq.com>
126
-
127
- ## v0.5.1
128
-
129
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.0...v0.5.1)
130
-
131
- ### 🩹 Fixes
132
-
133
- - 修复config设置 ([94318e3](https://github.com/aatrooox/z-cli/commit/94318e3))
134
-
135
- ### ❤️ Contributors
136
-
137
- - Aatrox <gnakzz@qq.com>
138
-
139
- ## v0.5.0
140
-
141
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.4.5...v0.5.0)
142
-
143
- ### 🚀 Enhancements
144
-
145
- - 增加i18n命令;提取vue中的国际化配置 ([9777990](https://github.com/aatrooox/z-cli/commit/9777990))
146
-
147
- ### 📖 Documentation
148
-
149
- - 更新i18n说明 ([141d8f3](https://github.com/aatrooox/z-cli/commit/141d8f3))
150
-
151
- ### ❤️ Contributors
152
-
153
- - Aatrox <gnakzz@qq.com>
154
-
155
- ## v0.4.5
156
-
157
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.4.4...v0.4.5)
158
-
159
- ### 🩹 Fixes
160
-
161
- - Env ignore ([535fc54](https://github.com/aatrooox/z-cli/commit/535fc54))
162
-
163
- ### ❤️ Contributors
164
-
165
- - Aatrox <gnakzz@qq.com>
166
-
167
- ## v0.4.4
168
-
169
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.4.3...v0.4.4)
170
-
171
- ### 🚀 Enhancements
172
-
173
- - 增加版本更新检测机制 ([d8876d3](https://github.com/aatrooox/z-cli/commit/d8876d3))
174
-
175
- ### ❤️ Contributors
176
-
177
- - Aatrox <gnakzz@qq.com>
178
-
179
- ## v0.4.3
180
-
181
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.4.2...v0.4.3)
182
-
183
- ## v0.4.2
184
-
185
- [compare changes](https://github.com/aatrooox/z-cli/compare/v0.4.1...v0.4.2)
186
-
187
- ### 🚀 Enhancements
188
-
189
- - 配置自动发布npm ([75890f6](https://github.com/aatrooox/z-cli/commit/75890f6))
190
-
191
- ### 📖 Documentation
192
-
193
- - Readme ([f7e5f7c](https://github.com/aatrooox/z-cli/commit/f7e5f7c))
194
- - LICENSE & readme ([d86fc37](https://github.com/aatrooox/z-cli/commit/d86fc37))
195
-
196
- ### ❤️ Contributors
197
-
198
- - Aatrox <gnakzz@qq.com>
199
-
200
- ## v0.4.1
201
-
202
- [compare changes](https://github.com/aatrooox/zzoffduty-cli/compare/v0.4.0...v0.4.1)
203
-
204
- ### 🚀 Enhancements
205
-
206
- - 修改全局配置文件保存地址;修改项目名称等 ([2d93fae](https://github.com/aatrooox/zzoffduty-cli/commit/2d93fae))
207
-
208
- ### ❤️ Contributors
209
-
210
- - Aatrox <gnakzz@qq.com>
211
-