跳转到内容

cnb-rs group collaborator remove

cnb-rs group collaborator remove <GROUP> <USERNAME> [-y]
cnb-rs group collaborator rm     <GROUP> <USERNAME> [-y]

从组织移除外部贡献者。默认会交互式 confirm,可用 -y/--yes 跳过。

alias

rmremove 的 visible alias,与项目里其他子命令(group member rm / repo member rm / asset rm 等)一致。

参数

  • <GROUP>: 组织路径(必填)
  • <USERNAME>: 用户名(必填)

选项

  • -y, --yes: 跳过 confirm 提示

继承的全局选项:

  • --domain <DOMAIN>: 指定目标域名

示例

bash
# 默认弹 confirm
cnb-rs group collaborator remove wwvo alice

# 脚本里跳过 confirm
cnb-rs group collaborator rm wwvo alice -y

另请参阅

Released under the MIT License.