1 | import Command, { flags } from '../../base';
|
2 | import { SecretListInputs } from '../../types';
|
3 | interface SecretDeleteInput {
|
4 | selectedSecret: string;
|
5 | confirmDelete: boolean;
|
6 | }
|
7 | export 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 | }
|
19 | export {};
|