MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / dryRun

Function dryRun

src/output/formatter.ts:25–29  ·  view source on GitHub ↗
(config: { dryRun?: boolean; output?: string }, body: unknown)

Source from the content-addressed store, hash-verified

23}
24
25export function dryRun(config: { dryRun?: boolean; output?: string }, body: unknown): boolean {
26 if (!config.dryRun) return false;
27 console.log(formatOutput({ request: body }, detectOutputFormat(config.output)));
28 return true;
29}

Callers 5

runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90

Calls 2

formatOutputFunction · 0.85
detectOutputFormatFunction · 0.85

Tested by

no test coverage detected