跳转到内容

cnb-rs group member remove

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

从组织移除指定成员。默认会交互式 confirm,可用 -y/--yes 跳过。

alias

rmremove 的 visible alias,与项目里其他子命令(asset rm / commit annotation rm / gpg-key rm 等)一致。

参数

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

选项

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

继承的全局选项:

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

示例

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

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

另请参阅

Released under the MIT License.