@aerocorp/cli
Version:
AeroCorp CLI 5.1.0 - Future-Proofed Enterprise Infrastructure with Live Preview, Tunneling & Advanced DevOps
50 lines • 1.2 kB
TypeScript
/**
* AeroCorp CLI 5.0.0 - WSL Integration Service
* Handles WSL-based SSH connections and Docker operations
*/
export interface SSHConfig {
host: string;
user: string;
port?: number;
keyPath?: string;
}
export interface DockerLogOptions {
container?: string;
applicationId?: string;
lines?: number;
follow?: boolean;
}
export declare class WSLService {
private configService;
private defaultSSHConfig;
constructor();
/**
* Check if WSL is available and properly configured
*/
checkWSLAvailability(): Promise<boolean>;
/**
* Setup SSH keys for Coolify server access
*/
setupSSHKeys(): Promise<boolean>;
/**
* Test SSH connection to Coolify server
*/
testSSHConnection(): Promise<boolean>;
/**
* Get Docker logs via SSH
*/
getDockerLogs(options: DockerLogOptions): Promise<void>;
/**
* Execute a command in WSL
*/
private executeWSLCommand;
/**
* Get WSL distribution info
*/
getWSLInfo(): Promise<void>;
/**
* Interactive SSH key setup with user guidance
*/
interactiveSSHSetup(): Promise<void>;
}
//# sourceMappingURL=wsl.d.ts.map