feat(cli): add productivity shortcuts and API body inputs #45
Loading…
Reference in New Issue
No description provided.
Delete Branch "wangyue111/gitlink-cli:feat/cli-productivity-shortcuts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更内容
milestoneShortcut 组,支持里程碑 list/create/view/update/delete/close/reopen 等操作。compareShortcut 组,支持compare +view和compare +files比较分支、标签或提交。pr +reopenshortcut,用于重开已关闭的 Pull Request。gitlink-cli api增加--body-file和--body-stdin,支持从文件或 stdin 读取 JSON 请求体。验证
GOPROXY=https://goproxy.cn,direct go test ./...go run . milestone --helpgo run . compare --helpgo run . pr +reopen --helpgo run . api POST /Gitlink/gitlink-cli/issues --helpgit diff --check7cd7d74fa5to898b7f59d1737bede0a5to85fa1f2e0785fa1f2e07to00c753b421