tb-get-project-members

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

查询项目成员

Query Project Members

执行步骤

Execution Steps

  1. 读取
    .teambition.md
    常用项目,让用户选择
  2. 执行:
bash
node scripts/tb-api.mjs get-project-members --projectId <ID>
  1. 以表格展示:用户ID(userId)、角色(role)
规则:
  • 如果宿主支持交互选择控件,则使用交互选择
  • 如果宿主不支持交互选择控件,则直接在对话中询问用户
  1. Read common projects from
    .teambition.md
    and let the user select
  2. Execute:
bash
node scripts/tb-api.mjs get-project-members --projectId <ID>
  1. Display in table format: user ID (userId), role (role)
Rules:
  • If the host supports interactive selection controls, use interactive selection
  • If the host does not support interactive selection controls, ask the user directly in the conversation