tb-delete-task
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese删除 TeamBition 任务
Delete TeamBition Tasks
执行步骤
Execution Steps
- 读取 中的常用项目和最近任务
.teambition.md - 让用户选择项目,获取任务列表后选择任务
- 再次确认目标任务标题和 ID,避免误删
- 执行:
bash
node scripts/tb-api.mjs delete-task --taskId <ID>- 从 最近任务记录中移除该任务
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- 删除前必须再次确认,不要自动删除
- Read common projects and recent tasks from
.teambition.md - Let the user select the project, obtain the task list and then select the task
- Confirm the target task title and ID again to avoid accidental deletion
- Execute:
bash
node scripts/tb-api.mjs delete-task --taskId <ID>- Remove the task from the 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
- Must confirm again before deletion, do not delete automatically