@adinsure-ops/ops-cli
Version:
Operations CLI for working with AdInsure
29 lines (28 loc) • 1.4 kB
TypeScript
import { AxiosResponse } from 'axios';
import CommandBase from '../../command.base.js';
export default class DownloadClient extends CommandBase<typeof DownloadClient> {
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 Client zip by specified version
* @param {string} version The version of AdInsure Client
* @returns {Promise<AxiosResponse<any, any>>}
*/
downloadFileFromAzure(version: string): Promise<AxiosResponse<any, any>>;
/**
* Get unique AdInsure Client zip by specified version
* @param {string} version The version of AdInsure Client
* @returns {Promise<AxiosResponse<any, any>>}
*/
downloadFileFromGitLabRu(version: string): Promise<AxiosResponse<any>>;
run(): Promise<void>;
}