跳转到内容

cnb-rs repo stars ​

cnb-rs repo stars [REPO] [--json]

查看仓库的 Star 用户列表,并自动分页拉取全部结果。不指定 REPO 时使用当前 Git 目录对应的仓库。

表格包含用户名、昵称和 Star 时间。

选项 ​

  • [REPO]: 仓库路径(如 org/repo)

继承的全局选项:

  • --json: 以 JSON 格式输出 RepoStarUsers,其中 users 包含全部分页结果
  • --repo <REPO>: 指定当前仓库路径
  • --domain <DOMAIN>: 指定目标域名(默认:cnb.cool)

示例 ​

bash
# 查看当前仓库的 Star 用户
$ cnb-rs repo stars

# 查看指定仓库的 Star 用户
$ cnb-rs repo stars wwvo/cnb-rs/cnb-rs

# JSON 格式输出
$ cnb-rs repo stars wwvo/cnb-rs/cnb-rs --json

API ​

另请参阅 ​

Released under the MIT License.