@aerocorp/cli
Version:
AeroCorp CLI 5.1.0 - Future-Proofed Enterprise Infrastructure with Live Preview, Tunneling & Advanced DevOps
75 lines • 2.02 kB
TypeScript
/**
* AeroCorp CLI 5.0.0 - Windows Native Service
* Implements Windows-native deployment without WSL dependency
* Similar to how Vercel CLI works seamlessly on Windows
*/
export interface WindowsSSHConfig {
host: string;
user: string;
port?: number;
keyPath?: string;
useBuiltInSSH?: boolean;
}
export interface PowerShellOptions {
timeout?: number;
shell?: 'powershell' | 'pwsh' | 'cmd';
encoding?: string;
}
export declare class WindowsNativeService {
private configService;
private sshConfig;
constructor();
/**
* Check Windows environment and available tools
*/
checkWindowsEnvironment(): Promise<{
isWindows: boolean;
hasOpenSSH: boolean;
hasPowerShell: boolean;
hasWSL: boolean;
nodeVersion: string;
}>;
/**
* Setup SSH keys using Windows native OpenSSH
*/
setupWindowsSSH(): Promise<boolean>;
/**
* Execute PowerShell command (Windows native)
*/
executePowerShell(command: string, options?: PowerShellOptions): Promise<{
success: boolean;
output: string;
error?: string;
}>;
/**
* Execute SSH command using Windows native SSH client
*/
executeSSH(command: string, options?: {
follow?: boolean;
timeout?: number;
}): Promise<void>;
/**
* Get Docker logs using Windows native SSH
*/
getDockerLogsNative(applicationId: string, options?: {
lines?: number;
follow?: boolean;
}): Promise<void>;
/**
* Install OpenSSH client on Windows (requires admin)
*/
installOpenSSH(): Promise<boolean>;
/**
* Show Windows-specific setup instructions
*/
showWindowsSetupInstructions(): void;
/**
* Test all Windows functionality
*/
testWindowsFunctionality(): Promise<boolean>;
/**
* Get system information for troubleshooting
*/
getSystemInfo(): Promise<void>;
}
//# sourceMappingURL=windows-native.d.ts.map