UNPKG

956 BTypeScriptView Raw
1import Command from '../base';
2import { RemoveInputs } from '../types';
3export default class Remove extends Command {
4 static description: string;
5 static args: {
6 name: string;
7 description: string;
8 required: boolean;
9 }[];
10 static flags: {
11 help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
12 };
13 validateOpNameAndVersion: (inputs: Pick<RemoveInputs, "op" | "config">) => Pick<RemoveInputs, "opName" | "opVersion" | "op" | "config" | "opTeamName">;
14 getApiOpsOrWorkflows: (inputs: RemoveInputs) => Promise<RemoveInputs>;
15 promptDeleteDescription: (inputs: RemoveInputs) => Promise<RemoveInputs>;
16 confirmRemove: (inputs: RemoveInputs) => Promise<RemoveInputs>;
17 removeApiOpOrWorkflow: (inputs: RemoveInputs) => Promise<RemoveInputs>;
18 logMessage: (inputs: RemoveInputs) => RemoveInputs;
19 sendAnalytics: (inputs: RemoveInputs) => Promise<RemoveInputs>;
20 run(): Promise<void>;
21}