@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
23 lines (22 loc) • 928 B
TypeScript
import Command, { flags } from './../base';
import { OpCommand, Config, OpWorkflow, RunCommandArgs } from './../types';
export default class Start extends Command {
static description: string;
static flags: flags.Input<any>;
static strict: boolean;
static args: {
name: string;
description: string;
parse: (input: string) => string;
}[];
customParse: (options: typeof Start, argv: string[]) => {
args: any;
flags: any;
opParams: string[];
};
sendAnalytics: (parsedArgs: RunCommandArgs, config: Config) => void;
getPublishedOps: (config: Config) => Promise<(OpCommand | OpWorkflow)[]>;
isOpAvailable: (name: string, version: string | undefined, ops: (OpCommand | OpWorkflow)[]) => OpCommand | OpWorkflow | undefined;
startRemoteOp: (name: string, config: Config, op: OpCommand | OpWorkflow) => Promise<void>;
run(): Promise<void>;
}