[Feature Request] 支持在审批应用中添加评论功能
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 17.3k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 105
Description
背景
目前 Lark-CLI 的 approval 模块支持审批单的查询 (list) 和详情获取 (get),但缺少在审批单中添加评论的能力。
在实际使用场景中,审批人或协作成员需要在 CLI 环境下快速补充说明或意见,而不是切换到客户端。
需求
-
增加
lark-cli approval comment子命令 -
支持指定审批单 ID 与评论内容,例如:
lark-cli approval comment --id <approval_id> --text "已确认,请尽快处理" -
评论内容应与客户端保持一致,显示在审批流中。
预期效果
- 用户身份登录后,可直接在 CLI 中对审批单添加评论。
- 评论接口需遵循现有权限控制,确保只有有权限的用户才能评论。
价值
- 提升 CLI 在自动化审批场景下的实用性
- 减少审批人频繁切换客户端的操作
- 与现有
list、get命令形成完整的审批交互闭环
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Lark-CLI approval list and get commands and their API integration. Add the approval comment subcommand with approval ID and text inputs, preserving existing authentication and permission handling. Done means an authorized user can submit a comment that appears in the approval flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100