docker-pilot
Version:
A powerful, scalable Docker CLI library for managing containerized applications of any size
24 lines • 755 B
TypeScript
import { BaseCommand } from './BaseCommand';
import { CommandResult, CommandOptions, CommandContext } from '../types';
export declare class ShellCommand extends BaseCommand {
constructor(context: CommandContext);
execute(args: string[], _options: CommandOptions): Promise<CommandResult>;
/**
* Execute the shell command for a specific service
*/
private executeShell;
/**
* Detect available shell in the container
*/
private detectAvailableShell;
/**
* Execute a command silently for testing
*/
private executeCommand;
/**
* Execute interactive shell command
*/
private executeInteractiveShell;
protected showExamples(): void;
}
//# sourceMappingURL=ShellCommand.d.ts.map