#!/usr/bin/env node /** * `mcp-shellguard-audit` — commander-based CLI that scans a path for * unsanitised child_process calls. Subcommands: * * scan — emit findings (markdown by default) * version — print package version * * Exit codes: * 0 — clean (no findings at-or-above floor) * 1 — findings at-or-above floor (CI gate) * 2 — parse / IO errors (false-negative-safe) */ export interface CliRunOptions { argv: string[]; cwd: string; out?: (line: string) => void; err?: (line: string) => void; /** Test seam — return code instead of process.exit. */ exit?: (code: number) => void; } export declare function runCli(opts: CliRunOptions): Promise; //# sourceMappingURL=cli.d.ts.map