UNPKG

github-mcp-auto-git

Version:

GitHub MCP Auto Git v3.0 - メモリ効率化・統合MCP・モジュール化完了の完全自動Git操作システム

51 lines 1.64 kB
/** * CLI Command Handler Module * Handles all command-line interface operations following Constitutional AI principles */ import { GitAutoMCP } from './git-auto-mcp.js'; export interface CommandResult { success: boolean; message?: string; exitCode?: number; } export declare class CLICommandHandler { private gitAutoMCP; constructor(gitAutoMCP: GitAutoMCP); /** * Parse and execute CLI commands * Fail Fast: Immediate validation of command arguments * Be Lazy: Efficient command routing without redundant processing * TypeScript First: Complete type safety for all command operations */ executeCommand(args: string[]): Promise<CommandResult>; private handleWatchCommand; private handleCommitCommand; private handleStatusCommand; private handleInitCommand; private handleTokenCommand; private handleSetupCommand; private handleConstitutionalCommand; private handleProgressCommand; private handleHelpCommand; /** * Generate configuration template * Be Lazy: Reusable template generation */ private generateConfigTemplate; /** * Display comprehensive token setup guide * Fail Fast: Clear validation requirements upfront */ private displayTokenSetupGuide; /** * Display Constitutional AI check results * TypeScript First: Strongly typed result display */ private displayConstitutionalResults; /** * Display progress tracking results * Be Lazy: Efficient result formatting */ private displayProgressResults; } //# sourceMappingURL=cli-command-handler.d.ts.map