gitlink-cli/cmd
狗gogo b1bf96141c feat: add repo batch-delete, unify api error envelope, harden wiki handling
- repo: 新增 `+batch-delete` shortcut(--names / --from CSV / --dry-run),
  补齐 batch-create / batch-update / batch-delete 三件套
- api: 新增 `--body-file` 解决 PowerShell 调用 .exe 时剥离内嵌引号的问题;
  JSON 解析、参数冲突、读文件失败、网络错误统一按 envelope 输出,
  便于 --format json + jq 自动化解析
- wiki: unwrapGatewayResponse 接受全部 HTTP 2xx(修复 DELETE 返回 204 被误判失败);
  错误改返回 *clierrors.CLIError 让 envelope 输出生效;fetchPageContent 自动重试
  ".-" 后缀(GitLink 后端给 sub_url 加后缀导致 GET 404);outputWithDecodedContent
  解码 base64 字段为明文提升 agent 可读性;wiki +delete 先解析实际 pageName 再
  DELETE,删除后强制 GET 验证并返回结构化结果

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-01 13:07:29 +08:00
..
api feat: add repo batch-delete, unify api error envelope, harden wiki handling 2026-07-01 13:07:29 +08:00
auth Update webhook functionality and fix authentication issues 2026-06-03 23:19:43 +08:00
cmdutil refactor: improve error handling, output formatting, and wiki/webhook shortcuts 2026-06-27 19:16:53 +08:00
config init gitlink-cli 2026-04-17 10:01:30 +08:00
root.go refactor: improve error handling, output formatting, and wiki/webhook shortcuts 2026-06-27 19:16:53 +08:00