diff --git a/src/cli.ts b/src/cli.ts index e4db3ca..ec81c78 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -31,6 +31,7 @@ import { buildMonitorCommand } from './commands/monitor/index.ts' import { buildLogCommand } from './commands/log/index.ts' import { buildIntegrationCommand } from './commands/integration/index.ts' import { buildStorageCommand } from './commands/storage/index.ts' +import { buildTestcaseCommand } from './commands/testcase/index.ts' import { maybeInterceptAiHelp } from './core/help.ts' import { log } from './core/log.ts' import { DacliError } from './core/types.ts' @@ -81,6 +82,8 @@ program.addCommand(buildMonitorCommand()) program.addCommand(buildLogCommand()) program.addCommand(buildIntegrationCommand()) program.addCommand(buildStorageCommand()) +// v0.11+ NEW: testcase (API 模拟录入 → 沉淀, 替代 tests/test-*.ts 散落脚本) +program.addCommand(buildTestcaseCommand()) // ----- main ----- // AI flag 拦截 (在 parse 之前, 避免 requiredOption 校验失败)