@cto.ai/ops-rc
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
25 lines (24 loc) • 924 B
TypeScript
import Command from './../base';
import { OpCommand, Config, OpWorkflow, RunCommandArgs } from './../types';
export default class Start extends Command {
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
};
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)[]) => boolean;
startRemoteOp: (name: string, config: Config) => Promise<void>;
run(): Promise<void>;
}