UNPKG

supa-seed

Version:

A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support

94 lines 2.4 kB
/** * Production-Ready CLI Interface * Phase 6, Checkpoint F1 - Professional CLI with comprehensive monitoring and error handling */ export interface CLIConfig { verbose: boolean; quiet: boolean; environment: 'development' | 'production' | 'test'; outputFormat: 'text' | 'json' | 'table'; enableMonitoring: boolean; memoryLimit: number; } export declare class ProductionCLI { private program; private config; private spinner; constructor(); /** * Initialize CLI commands and options */ private initializeCLI; /** * Initialize production environment */ private initializeProduction; /** * Handle command execution with error handling and monitoring */ private handleCommand; /** * Show comprehensive system status */ private showSystemStatus; /** * Perform comprehensive health check */ private performHealthCheck; /** * Validate configuration */ private validateConfiguration; /** * Run interactive setup wizard */ private runSetupWizard; /** * Health check implementations */ private checkMemoryHealth; private checkServiceHealth; private checkConfigurationHealth; private checkPerformanceHealth; /** * Stub implementations for other commands */ private runIntelligentSeeding; private analyzePerformance; private showMemoryStatus; private forceMemoryCleanup; private showAIStatus; private testAIService; private listTemplates; private validateTemplates; private exportData; /** * Configuration management command implementations (Task 5.3.4) */ private runConfigurationTests; private startConfigurationDebugging; private applyConfigurationCustomizations; private generateConfigurationDocs; private troubleshootConfiguration; private shouldApplyAutoFix; private attemptAutoFixes; /** * Get connection options from environment or CLI */ private getConnectionOptions; /** * Output methods */ private log; private info; private success; private warn; private error; /** * Run the CLI */ run(argv?: string[]): void; } export declare const productionCLI: ProductionCLI; export default ProductionCLI; //# sourceMappingURL=production-cli.d.ts.map