cnb-rs repo member remove
cnb-rs repo member remove <USERNAME> [-y]
cnb-rs repo member rm <USERNAME> [-y]从仓库移除指定成员。默认会交互式 confirm,可用 -y/--yes 跳过。
alias
rm 是 remove 的 visible alias,与项目里其他子命令(asset rm / commit annotation rm / group member rm 等)一致。
参数
<USERNAME>: 用户名(必填)
选项
-y, --yes: 跳过 confirm 提示
继承的全局选项:
--repo <REPO>: 指定仓库路径--domain <DOMAIN>: 指定目标域名
示例
bash
# 默认弹 confirm
cnb-rs --repo wwvo/cnb-rs repo member remove alice
# 脚本里跳过 confirm
cnb-rs --repo wwvo/cnb-rs repo member rm alice -y