UNPKG

@adinsure-ops/ops-cli

Version:

Operations CLI for working with AdInsure

23 lines (22 loc) 1.49 kB
import CommandBase from '../../command.base.js'; import { AzurePackageArray, NpmPackage } from '../../types/npm.types.js'; export default class NpmPublish extends CommandBase<typeof NpmPublish> { static description: string; static usage: string; static examples: string[]; static flags: { package: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; exclude: 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>; pat: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; retry: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; }; private cp; publishPackage(pkg: NpmPackage, cmd?: string[]): Promise<{ data: string; error: string; }>; checkPackageCanPublish(pkg: NpmPackage, allPackages: AzurePackageArray, version: string, retries: number): Promise<boolean>; publishPackages(packages: NpmPackage[], allPackages: AzurePackageArray, version: string, retries: number): Promise<void>; run(): Promise<void>; }