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-20 22:23:58 +08:00
2026-06-24 10:16:50 +08:00
2026-07-21 13:00:16 +08:00
2026-06-28 23:50:58 +08:00
2026-06-28 23:50:58 +08:00
2026-06-24 10:16:50 +08:00
2026-06-12 18:26:39 +08:00
2026-06-12 18:26:39 +08:00
2026-06-28 23:50:58 +08:00
2026-06-23 08:26:11 +08:00
2026-07-21 13:00:16 +08:00
2026-06-29 13:28:52 +08:00
2026-06-24 14:36:23 +08:00
2026-06-12 18:26:39 +08:00
2026-06-23 01:06:31 +08:00
2026-06-23 00:41:27 +08:00
2026-07-21 17:04:29 +08:00
2026-07-16 06:43:32 +08:00
2026-07-21 18:01:00 +08:00
2026-06-15 10:50:05 +08:00
2026-06-28 23:50:58 +08:00
2026-06-16 11:39:21 +08:00