tb-update-task-tags
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese更新任务标签
Update Task Tags
执行步骤
Execution Steps
- 读取 常用项目和最近任务
.teambition.md - 让用户选择项目,获取任务列表后选择任务
- 执行 获取标签列表
node scripts/tb-api.mjs search-tags - 让用户选择标签
- 执行:
bash
node scripts/tb-api.mjs update-task-tags --taskId <ID> --tagIds <id1,id2,...>- 更新 最近任务记录
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- Read common projects and recent tasks from
.teambition.md - Ask the user to select a project, obtain the task list and then select the task
- Execute to get the tag list
node scripts/tb-api.mjs search-tags - Ask the user to select tags
- Execute:
bash
node scripts/tb-api.mjs update-task-tags --taskId <ID> --tagIds <id1,id2,...>- Update recent task records in
.teambition.md
Rules:
- If the host supports interactive selection controls, use interactive selection
- If the host does not support interactive selection controls, directly ask the user in the conversation