UNPKG

@adinsure-ops/ops-cli

Version:

Operations CLI for working with AdInsure

20 lines (19 loc) 887 B
import { AxiosResponse } from 'axios'; import CommandBase from '../../command.base.js'; export default class DownloadServer extends CommandBase<typeof DownloadServer> { 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 Server zip by specified version * @param {string} version The version of AdInsure Server * @returns {Promise<AxiosResponse<any, any>>} */ downloadFile(version: string): Promise<AxiosResponse<any, any>>; run(): Promise<void>; }