feat(member): add application shortcuts #267
Loading…
Reference in New Issue
No description provided.
Delete Branch "wangyue111/gitlink-cli:feat/member-application-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?
背景
GitLink OpenAPI 提供用户加入 / 退出项目的成员生命周期接口,但 CLI 当前只覆盖仓库管理员侧的成员增删、角色调整和邀请链接,缺少用户侧:
这两个能力适合社区协作、课程 / 科研项目成员流转、Agent 辅助 onboarding/offboarding 场景。
新增功能
1.
member +apply通过邀请码申请加入项目:
对齐 OpenAPI:
参数设计:
--code:项目邀请码,必填--role:申请角色,必填,仅允许manager/developer/reporter--dry-run:预览请求,不提交申请2.
member +quit退出仓库成员关系:
对齐 OpenAPI:
安全设计:
--yes--dry-run预览,不调用线上接口交付内容
shortcuts/member/member.goshortcuts/member/member_test.goskills/gitlink-member/SKILL.mddoc/changes/member-application-shortcuts.md测试
7e0d6cbb2eto4c23b8f180