UNPKG

785 BTypeScriptView Raw
1import Command, { flags } from '../../base';
2import { SecretListInputs } from '../../types';
3interface SecretDeleteInput {
4 selectedSecret: string;
5 confirmDelete: boolean;
6}
7export default class SecretsDelete extends Command {
8 static description: string;
9 static flags: {
10 help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
11 key: flags.IOptionFlag<string | undefined>;
12 };
13 confirmSecretDeletion: (inputs: Pick<SecretListInputs, "selectedSecret">) => Promise<SecretDeleteInput>;
14 deleteSecretAPI: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
15 logMessage: (inputs: SecretDeleteInput) => SecretDeleteInput;
16 sendAnalytics: (inputs: SecretDeleteInput) => Promise<SecretDeleteInput>;
17 run(): Promise<void>;
18}
19export {};