cnb-rs user me
cnb-rs user me查看当前用户的档案详情(profile,含统计数据)。
选项
无位置参数 / flag。
继承的全局选项:
--json: 输出原始UsersResult(30+ 字段含 identity_providers / verified / reward_amount 等扩展)
输出示例
@alice (Alice Z)
Building developer tools at Acme
ID 1939298758258909184
Email alice@example.com
Company Acme Inc.
Location Beijing
Site https://alice.dev
Created 2025-06-29 12:23:49
统计:
Repos 317 (public 194)
Missions 2 (public 1)
Registries 1 (public 1)
Groups 10
Stars 12
Followers 11
Following 10 (repos 38, missions 0)示例
bash
# 文本输出
$ cnb-rs user me
# JSON 拿全字段(如 verified 认证状态 / wechat_mp 等)
$ cnb-rs --json user me | jq '{username, verified, reward_amount}'另请参阅
- cnb-rs user show — 查指定用户档案
- cnb-rs user update — 更新自己档案
- cnb-rs user emails — 列邮箱
- cnb-rs info — 当前用户 + 当前仓库组合视图