@devicecloud.dev/dcd
Version:
Better cloud maestro testing
26 lines (25 loc) • 741 B
TypeScript
export interface MoropoDownloadOptions {
apiKey: string;
branchName?: string;
debug?: boolean;
json?: boolean;
logger?: (message: string) => void;
quiet?: boolean;
}
/**
* Service for downloading and extracting Moropo tests from the Moropo API
*/
export declare class MoropoService {
private readonly MOROPO_API_URL;
/**
* Download and extract Moropo tests from the API
* @param options Download configuration options
* @returns Path to the extracted Moropo tests directory
*/
downloadAndExtract(options: MoropoDownloadOptions): Promise<string>;
private createConfigFile;
private downloadZipFile;
private extractZipFile;
private logDebug;
private showProgress;
}