tb-get-taskflow-statuses
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese查询工作流状态
Query Workflow Statuses
执行步骤
Execution Steps
- 读取 常用项目,让用户选择
.teambition.md - 执行:
bash
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID>- 以表格展示:状态ID(id)、名称(name)、类型(kind)、工作流ID(taskflowId)
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- Read common projects from and let the user make a selection
.teambition.md - Execute:
bash
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID>- 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