@blundergoat/goat-flow
Version:
AI coding agent harness and local dashboard for Claude Code, OpenAI Codex, Google Antigravity, and GitHub Copilot - setup audits, guardrails, structured skills, deny hooks, and persistent learning loops.
12 lines • 816 B
TypeScript
/**
* Command-dispatch layer for the CLI: one handler per subcommand plus the COMMAND_HANDLERS table
* and dispatchCommand entry that routes a parsed ParsedCLI to the right one. Handlers lazy-import
* their heavy dependencies (audit, facts, quality, dashboard, stats) so a single command never pays
* for modules it does not use. The shared error convention is to throw CLIError for user-facing
* failures (the entry point maps that to an exit code) and to set process.exitCode (not exit) for
* non-zero-but-successful outcomes like a failing audit, so buffered stdout still flushes.
*/
import type { ParsedCLI } from "./cli-types.js";
/** Dispatch one parsed CLI command to its handler. */
export declare function dispatchCommand(options: ParsedCLI): Promise<void>;
//# sourceMappingURL=cli-handlers.d.ts.map