跳转到内容

cnb-rs issue status ​

cnb-rs issue status

显示当前仓库中与我相关的 Issue 状态概览。

参考 gh issue status,分栏展示:

  • Issues assigned to you — 分配给我的开放 Issue(最多 10 条)
  • Issues opened by you — 我创建的开放 Issue(最多 10 条)

每栏按 -updated_at(最近更新优先)排序。

示例 ​

bash
# 查看当前仓库与我相关的 Issue
cnb-rs issue status

# 指定仓库
cnb-rs issue status --repo wwvo/cnb-rs/cnb-rs

# JSON 输出
cnb-rs issue status --json

输出格式 ​

Relevant issues in wwvo/cnb-rs/cnb-rs

Issues assigned to you
  #123   修复登录异常                             P0  约 2 小时前
  #456   优化 API 响应                            P1  约 1 天前

Issues opened by you
  #101   添加暗色模式                             P2  约 5 天前
  #102   更新文档                                 -   约 1 周前

JSON 输出 ​

json
{
  "assigned": [...],
  "createdBy": [...]
}

字段与 cnb-rs issue list --json 相同。

继承的全局选项:

  • --repo <REPO>: 指定仓库路径(格式:group/repo)
  • --json: 以 JSON 格式输出
  • --domain <DOMAIN>: 指定目标域名(默认:cnb.cool)

与 issue mine 的区别 ​

维度issue statusissue mine
目标快速一览面板灵活查询
输出分栏(Assigned / Opened by)单一表格
作用域当前仓库当前仓库 / --global 跨仓库
参数无(只有全局选项)--global / --filter / --state / --limit

Released under the MIT License.