feat(shortcut): 新增 star 命令模块,支持仓库收藏 #394

Closed
chroe wants to merge 1 commits from chroe/gitlink-cli:feat/star-shortcut into master
Contributor

为 gitlink-cli 新增 star 命令模块,支持仓库收藏操作:

  • star +list 列出当前用户收藏的仓库
  • star +add 收藏指定仓库
  • star +remove 取消收藏

遵循项目 common.Shortcut 规范,复用 RuntimeContext,自动注入 owner/repo/auth,
与现有模块风格一致。含单元测试 shortcuts/star/star_test.go。

为 gitlink-cli 新增 star 命令模块,支持仓库收藏操作: - star +list 列出当前用户收藏的仓库 - star +add 收藏指定仓库 - star +remove 取消收藏 遵循项目 common.Shortcut 规范,复用 RuntimeContext,自动注入 owner/repo/auth, 与现有模块风格一致。含单元测试 shortcuts/star/star_test.go。
chroe force-pushed feat/star-shortcut from 0e42770ca5 to afe153be2e 2026-07-09 22:14:02 +08:00 Compare
chroe force-pushed feat/star-shortcut from afe153be2e to 988ca1543c 2026-07-09 22:39:02 +08:00 Compare
wbtiger closed this pull request 2026-07-14 20:41:43 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#394
No description provided.