ssw
11f94a3dd0
feat(dacli): P6 sample 续 7 文件 → wrapCommand + 测试同步
P6 sample 续迁移 7 文件 (累计 14 文件):
- form/list.ts (--summary + --json + 表格 三路径)
- report/list.ts (webapi 化 + DacliError 已有)
- report/info.ts (同上)
- storage/list.ts (无 appCode, wrapCommand 仍能收口 stdout 5c)
- integration/emailtest.ts (DacliError 已有 + 新 wrapCommand)
- integration/smstest.ts (同上)
- integration/webhooktest.ts (DacliError 已有 + 新 wrapCommand)
P5 全量 (commit c6b7fe8):
- portal/create.ts:76,93 (2 throws businessType 字典 + 业务分类)
- bigscreen/construct.ts:269 (1 throw validProps empty)
测试 fix-up:
- tests/unit/report_wired.test.ts 更新 6 个老 pattern 静态契约
- 老 pattern (printCommandEnd + try/finally + cmdError + process.exit(1))
- 新 pattern (wrapCommand + ctx.success/fail + no process.exit)
验证:
- TS compile 56 baseline 不变
- 68/68 单元测试 PASS (output_filter + auto_fix + report_wired + workflow)
- 端到端: form list --summary / report list / storage list / workflow list 都正常
2026-07-21 18:01:00 +08:00
..
2026-07-17 11:46:07 +08:00
2026-07-17 11:49:25 +08:00
2026-07-07 15:39:09 +08:00
2026-07-15 16:41:09 +08:00
2026-07-21 18:01:00 +08:00
2026-07-02 20:14:40 +08:00