UNPKG

654 BTypeScriptView Raw
1export declare const dockerCommand: (command: string, options?: IOptions) => Promise<any>;
2export declare class Docker {
3 private options;
4 constructor(options?: IOptions);
5 command(command: string, callback?: (err: any, data: any) => void): Promise<any>;
6}
7export interface IOptions {
8 machineName?: string;
9 currentWorkingDirectory?: string;
10 echo?: boolean;
11}
12export declare class Options implements IOptions {
13 machineName?: string | undefined;
14 currentWorkingDirectory?: string | undefined;
15 echo: boolean;
16 constructor(machineName?: string | undefined, currentWorkingDirectory?: string | undefined, echo?: boolean);
17}