tapd-story-sync
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTAPD 需求同步
TAPD Requirement Sync
将本地 Markdown 需求同步到 TAPD。
Sync local Markdown requirements to TAPD.
使用场景
Usage Scenarios
- 用户要求同步、更新、推送修改,或重新提交需求
- Markdown 文件里已经有
tapd_id - 目标是让 TAPD 和本地 Markdown 保持一致
- Users need to sync, update, push changes, or resubmit requirements
- The Markdown file already contains
tapd_id - The goal is to keep TAPD and local Markdown in sync
执行步骤
Execution Steps
- 读取 Markdown 文件。
- 确认 frontmatter 中存在 。
tapd_id - 执行:
bash
tapd story update <markdown-file>- 验证:
- 更新执行成功
- 已写回本地文件
updated_at
- Read the Markdown file.
- Verify that exists in the frontmatter.
tapd_id - Execute:
bash
tapd story update <markdown-file>- Verification:
- The update is executed successfully
- is written back to the local file
updated_at
注意事项
Notes
- 如果原来的 在 TAPD 中不存在,CLI 会自动重新创建需求
tapd_id - 同步过程中会处理本地图片和 Mermaid 图表
- If the original does not exist in TAPD, the CLI will automatically recreate the requirement
tapd_id - Local images and Mermaid diagrams are processed during synchronization