Commit Graph

6 Commits

Author SHA1 Message Date
wbtiger a9b5690569 Merge PR #147: feat(shortcuts): 新增 wiki/commit/file/star/watch 模块及批量操作
# Conflicts:
#	shortcuts/file/file.go
#	shortcuts/file/file_test.go
#	shortcuts/wiki/wiki.go
#	shortcuts/wiki/wiki_test.go
2026-07-14 22:50:06 +08:00
Mengz 9f89f36e3a feat(org): 增强组织团队与成员管理快捷命令 2026-06-22 12:35:50 +08:00
chroe e2fe4c02f0 feat(shortcuts): add wiki/commit/file/star/watch modules + batch operations
新增 5 个 Shortcut 模块(23 个命令)和 3 个批量操作:

新模块:
- wiki: 5 命令 (list/view/create/update/delete),含 Sidebar 自动清理
- commit: 4 命令 (list/view/diff/blame)
- file: 5 命令 (list/tree/get/create/delete),自动 base64 编码
- star: 3 命令 (star/unstar/stars)
- watch: 3 命令 (watch/unwatch/watchers)

批量操作:
- member batch-add: 批量添加成员
- org batch-invite: 批量邀请(用户名自动解析为 ID)
- repo batch-create/batch-fork/batch-delete: 批量仓库管理
- 所有批量操作支持 --dry-run 和 --from CSV

测试: 每个模块包含 httptest mock 单元测试
文档: doc/changes/new-shortcut-modules.md

Note: 代码基于旧版 API 签名,需适配 i18n 翻译器接口
2026-06-08 11:59:19 +08:00
whzy 37dfd2e2e2 feat(i18n): add CLI localization foundation 2026-06-01 17:33:10 +08:00
wbtiger 0170b5b063 test: add comprehensive test coverage across all packages (88.5% → 90.3%)
Add 18 new test files covering formatter, envelope, config, auth,
client, context, register, and all shortcut group packages.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 15:41:54 +08:00
wbtiger e892370de8 init gitlink-cli 2026-04-17 10:01:30 +08:00