W12-D1+D2+D3: P2 收尾 (monitor 3 + log 2 + integration 3, 14 单测 PASS) + 22 父命令全就位

This commit is contained in:
ssw committed 2026-06-13 01:13:45 +08:00
1 parent eeacfae7d7
commit a8aa573f82
13 files changed
+574

No files matched your search

+7
View File
@@ -30,6 +30,9 @@ import { buildUserCommand } from './commands/user/index.ts'
import { buildOrgCommand } from './commands/org/index.ts'
import { buildMsgCommand } from './commands/msg/index.ts'
import { buildScheduleCommand } from './commands/schedule/index.ts'
import { buildMonitorCommand } from './commands/monitor/index.ts'
import { buildLogCommand } from './commands/log/index.ts'
import { buildIntegrationCommand } from './commands/integration/index.ts'
import { maybeInterceptAiHelp } from './core/help.ts'
import { log } from './core/log.ts'
import { DacliError } from './core/types.ts'
@@ -75,6 +78,10 @@ program.addCommand(buildOrgCommand())
program.addCommand(buildMsgCommand())
// v0.8 W11-D2 新增 1 父命令
program.addCommand(buildScheduleCommand())
// v0.8 W12 新增 3 P2 父命令
program.addCommand(buildMonitorCommand())
program.addCommand(buildLogCommand())
program.addCommand(buildIntegrationCommand())
// ----- main -----
// AI flag 拦截 (在 parse 之前, 避免 requiredOption 校验失败)