fix(cli): stream large JavaScript JSON results (#1024)
* fix(javascript): report application analysis progress on the CLI * test(cli): preserve progress in filtered output checks * fix(cli): stream large JavaScript JSON results * test(cli): include streaming output in dispatcher fixture
This commit is contained in:
@@ -2,12 +2,14 @@ import type { Logger } from "../logger.js";
|
||||
import { registerCoreBinaryCommands } from "./coreBinaryCommands.js";
|
||||
import { registerCoreNativeCommands } from "./coreNativeCommands.js";
|
||||
import type { CliInstance } from "./types.js";
|
||||
import type { CliResultOutput } from "./streamedJsonOutput.js";
|
||||
|
||||
/** Register core binary and native deep-analysis CLI commands. */
|
||||
export const registerCoreAnalysisCommands = (
|
||||
cli: CliInstance,
|
||||
logger: Logger,
|
||||
resultOutput?: CliResultOutput,
|
||||
): void => {
|
||||
registerCoreBinaryCommands(cli, logger);
|
||||
registerCoreBinaryCommands(cli, logger, resultOutput);
|
||||
registerCoreNativeCommands(cli, logger);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user