UNPKG

@cto.ai/ops-rc

Version:

💻 CTO.ai Ops - The CLI built for Teams 🚀

23 lines (22 loc) • 1.06 kB
import Command from './../base'; import { Config, OpCommand } from './../types'; import { OpPipeline, OpJob } from './../types/OpsYml'; export default class Build extends Command { static description: string; static flags: { help: import("@oclif/parser/lib/flags").IBooleanFlag<void>; }; static args: { name: string; description: string; }[]; resolvePath: (opPath: string) => string; getOpsFromFileSystem: (opPath: string) => Promise<any>; convertPipelinesToOps: (pipelines: OpPipeline[], config: Config) => Promise<OpCommand[]>; createJobContents: (config: Config, pipeline: OpPipeline, job: OpJob, jobIndex: number) => Promise<string>; addJobPackages: (packages: string[], targetFile: string) => void; writeJobContents: (contents: string, targetFile: string) => void; selectOpToBuild: (ops: OpCommand[], pipelines: OpPipeline[]) => Promise<OpCommand[]>; executeOpService: (opsToBuild: OpCommand[], opPath: string, config: Config) => Promise<void>; run(this: any): Promise<void>; }