docker-pilot
Version:
A powerful, scalable Docker CLI library for managing containerized applications of any size
63 lines • 1.41 kB
TypeScript
#!/usr/bin/env node
/**
* Docker Pilot CLI
* Command-line interface for Docker Pilot library
*/
interface CLIOptions {
configPath?: string;
workingDirectory?: string;
logLevel?: 'debug' | 'info' | 'warn' | 'error';
silent?: boolean;
help?: boolean;
version?: boolean;
}
declare class DockerPilotCLI {
private dockerPilot;
private logger;
private commands;
private i18n;
constructor();
/**
* Initialize CLI with language configuration
*/
private initializeLanguage; /**
* Initialize CLI
*/
initialize(_options?: CLIOptions): Promise<void>;
/**
* Register available commands
*/
private registerCommands;
/**
* Parse CLI arguments
*/
private parseArgs;
/**
* Show CLI help
*/
private showHelp;
/**
* Show version information
*/
private showVersion; /**
* Execute CLI command
*/
execute(args?: string[]): Promise<void>;
/**
* Start interactive menu
*/ startInteractiveMenu(): Promise<void>;
/**
* Cleanup CLI resources
*/
cleanup(): Promise<void>;
/**
* Smart initialization - auto-detect if no config exists
*/
private smartInitialize;
/**
* Create default configuration if none exists
*/
private createDefaultConfig;
}
export { DockerPilotCLI };
//# sourceMappingURL=cli.d.ts.map