@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
18 lines (17 loc) • 665 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: flags.Input<any>;
confirmSecretDeletion: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
deleteSecretAPI: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
logMessage: (inputs: SecretDeleteInput) => SecretDeleteInput;
sendAnalytics: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
run(): Promise<void>;
}
export {};