tb-get-taskflow-statuses

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

查询工作流状态

Query Workflow Statuses

执行步骤

Execution Steps

  1. 读取
    .teambition.md
    常用项目,让用户选择
  2. 执行:
bash
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID>
  1. 以表格展示:状态ID(id)、名称(name)、类型(kind)、工作流ID(taskflowId)
规则:
  • 如果宿主支持交互选择控件,则使用交互选择
  • 如果宿主不支持交互选择控件,则直接在对话中询问用户
  1. Read common projects from
    .teambition.md
    and let the user make a selection
  2. Execute:
bash
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID>
  1. Display in a table: Status ID (id), Name (name), Type (kind), Workflow ID (taskflowId)
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