@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
22 lines (21 loc) • 956 B
TypeScript
import Command from '../base';
import { RemoveInputs } from '../types';
export default class Remove extends Command {
static description: string;
static args: {
name: string;
description: string;
required: boolean;
}[];
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
};
validateOpNameAndVersion: (inputs: Pick<RemoveInputs, "op" | "config">) => Pick<RemoveInputs, "opName" | "opVersion" | "op" | "config" | "opTeamName">;
getApiOpsOrWorkflows: (inputs: RemoveInputs) => Promise<RemoveInputs>;
promptDeleteDescription: (inputs: RemoveInputs) => Promise<RemoveInputs>;
confirmRemove: (inputs: RemoveInputs) => Promise<RemoveInputs>;
removeApiOpOrWorkflow: (inputs: RemoveInputs) => Promise<RemoveInputs>;
logMessage: (inputs: RemoveInputs) => RemoveInputs;
sendAnalytics: (inputs: RemoveInputs) => Promise<RemoveInputs>;
run(): Promise<void>;
}