2026-10-09 20:02:52 +08:00
|
|
|
import type { DirectAnalysis } from "../composition/directAnalysis.js";
|
2026-10-09 22:45:18 +08:00
|
|
|
import type { Logger } from "pino";
|
2026-10-07 13:00:38 +08:00
|
|
|
import { registerCoreBinaryCommands } from "./coreBinaryCommands.js";
|
|
|
|
|
import { registerCoreNativeCommands } from "./coreNativeCommands.js";
|
2026-07-18 04:11:29 +00:00
|
|
|
import type { CliInstance } from "./types.js";
|
|
|
|
|
|
2026-10-07 13:00:38 +08:00
|
|
|
/** Register core binary and native deep-analysis CLI commands. */
|
2026-07-18 04:11:29 +00:00
|
|
|
export const registerCoreAnalysisCommands = (
|
|
|
|
|
cli: CliInstance,
|
|
|
|
|
logger: Logger,
|
2026-10-09 20:02:52 +08:00
|
|
|
runDirectAnalysis: DirectAnalysis["runDirectAnalysis"],
|
2026-07-18 04:11:29 +00:00
|
|
|
): void => {
|
2026-10-10 06:22:20 +08:00
|
|
|
registerCoreBinaryCommands(cli, logger, runDirectAnalysis);
|
2026-10-09 20:02:52 +08:00
|
|
|
registerCoreNativeCommands(cli, logger, runDirectAnalysis);
|
2026-10-06 17:24:33 +08:00
|
|
|
};
|