UNPKG

@adinsure-ops/ops-cli

Version:

Operations CLI for working with AdInsure

21 lines (20 loc) 925 B
import { AxiosResponse } from 'axios'; import CommandBase from '../../command.base.js'; export default class DownloadPlatform extends CommandBase<typeof DownloadPlatform> { static aliases: string[]; static description: string; static usage: string; static examples: string[]; static flags: { version: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; output: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; }; private readonly url; /** * Get unique AdInsure Platform zip by specified version * @param {string} version The version of AdInsure Platform * @returns {Promise<AxiosResponse<any, any>>} */ downloadFile(version: string): Promise<AxiosResponse<any, any>>; run(): Promise<void>; }