tb-update-task-note

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

更新任务备注

Update Task Notes

执行步骤

Execution Steps

  1. 读取
    .teambition.md
    常用项目和最近任务
  2. 让用户选择项目,获取任务列表后选择任务(优先展示最近任务)
  3. 让用户输入新的备注内容
  4. 执行:
bash
node scripts/tb-api.mjs update-task-note --taskId <ID> --note "<备注>"
  1. 更新
    .teambition.md
    最近任务记录
规则:
  • 如果宿主支持交互选择控件,则使用交互选择
  • 如果宿主不支持交互选择控件,则直接在对话中询问用户
  1. Read common projects and recent tasks from
    .teambition.md
  2. Ask the user to select a project, obtain the task list and then select the task (recent tasks are displayed first)
  3. Ask the user to enter the new note content
  4. Execute:
bash
node scripts/tb-api.mjs update-task-note --taskId <ID> --note "<备注>"
  1. Update 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, ask the user directly in the conversation