@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
16 lines (15 loc) • 610 B
TypeScript
import Command, { flags } from './../base';
import { Config, OpCommand } from './../types';
import { BuildOptions } from '../types/Docker';
export default class Build extends Command {
static description: string;
static flags: flags.Input<any>;
static args: {
name: string;
description: string;
}[];
resolvePath: (opPath: string) => string;
selectOpToBuild: (ops: OpCommand[]) => Promise<OpCommand[]>;
executeOpService: (commands: OpCommand[], opPath: string, config: Config, options: BuildOptions) => Promise<OpCommand[]>;
run(this: any): Promise<Command[]>;
}