tb-update-task-dates
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese设置任务日期
Set Task Dates
执行步骤
Execution Steps
- 读取 常用项目和最近任务
.teambition.md - 让用户选择项目,获取任务列表后选择任务
- 设置截止日期(今天 / 明天 / 本周五 / 下周五 / 月底 / 自定义)
- 询问是否设置开始日期(不设置 / 今天 / 自定义)
- 自动转换为 ISO 格式,执行:
bash
node scripts/tb-api.mjs update-task-dates --taskId <ID> --dueDate <ISO> [--startDate <ISO>]- 更新 最近任务记录
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- 不要自动替用户决定具体日期
- Read common projects and recent tasks from
.teambition.md - Ask the user to select a project, get the task list and then select the target task
- Set the due date (Today / Tomorrow / This Friday / Next Friday / End of month / Custom)
- Ask whether to set the start date (No setting / Today / Custom)
- Automatically convert to ISO format, execute:
bash
node scripts/tb-api.mjs update-task-dates --taskId <ID> --dueDate <ISO> [--startDate <ISO>]- 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
- Do not automatically determine the specific date for the user