@cto.ai/ops-rc
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
21 lines (20 loc) • 776 B
TypeScript
import Command, { flags } from './../../base';
import { Config } from './../../types';
interface SecretDeleteInput {
config: Config;
selectedSecret: string;
confirmDelete: boolean;
}
export default class SecretsDelete extends Command {
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
key: flags.IOptionFlag<string | undefined>;
};
confirmSecretDeletion: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
deleteSecretAPI: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
logMessage: (inputs: SecretDeleteInput) => SecretDeleteInput;
sendAnalytics: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
run(): Promise<void>;
}
export {};