UNPKG

@adinsure-ops/ops-cli

Version:

Operations CLI for working with AdInsure

29 lines (28 loc) 1.41 kB
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: { source: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; 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 | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; }; private readonly url_azure; private readonly url_gitlabru; /** * Get unique AdInsure Platform zip by specified version * @param {string} version The version of AdInsure Platform * @returns {Promise<AxiosResponse<any, any>>} */ downloadFileFromAzure(version: string): Promise<AxiosResponse<any, any>>; /** * Get unique AdInsure Platform zip by specified version * @param {string} version The version of AdInsure Platform * @returns {Promise<AxiosResponse<any, any>>} */ downloadFileFromGitLabRu(version: string): Promise<AxiosResponse<any>>; run(): Promise<void>; }