UNPKG

openapi-directory-mcp

Version:

Model Context Protocol server for accessing enhanced triple-source OpenAPI directory (APIs.guru + additional APIs + custom imports)

63 lines 1.4 kB
/** * CLI handler for custom OpenAPI spec import and management * Handles argument parsing and command execution */ export interface CLIArgs { import?: string | boolean; name?: string; version?: string; "skip-security"?: boolean; "strict-security"?: boolean; "list-custom"?: boolean; "remove-custom"?: string; "rescan-security"?: string; "validate-integrity"?: boolean; "repair-integrity"?: boolean; help?: boolean; } export declare class CLIHandler { private importManager; private cacheManager; constructor(); /** * Parse command line arguments */ parseArgs(args: string[]): CLIArgs; /** * Handle CLI commands */ handleCommand(args: CLIArgs): Promise<boolean>; /** * Show help information */ private showHelp; /** * Interactive import wizard */ private interactiveImport; /** * Direct import with provided arguments */ private directImport; /** * List all custom specs */ private listCustomSpecs; /** * Remove a custom spec */ private removeCustomSpec; /** * Rescan security for a spec */ private rescanSecurity; /** * Validate integrity */ private validateIntegrity; /** * Repair integrity */ private repairIntegrity; } //# sourceMappingURL=cli-handler.d.ts.map