UNPKG

envx-cli

Version:

Environment file encryption and management tool

18 lines 1.14 kB
import { EnvrcConfig } from '../types'; export declare class InteractiveUtils { static selectEnvironment(environments: string[], message?: string): Promise<string>; static selectMultipleEnvironments(environments: string[], message?: string): Promise<string[]>; static promptPassphrase(message?: string): Promise<string>; static confirmPassphrase(originalPassphrase: string): Promise<boolean>; static promptNewPassphrase(): Promise<string>; static promptEnvironmentName(message?: string): Promise<string>; static promptSecret(stageName: string): Promise<string>; static setupEnvrc(cwd: string, existingEnvironments?: string[]): Promise<EnvrcConfig>; static selectFiles(files: string[], message?: string): Promise<string[]>; static confirmOperation(message: string, defaultValue?: boolean): Promise<boolean>; static selectOperationMode(): Promise<'encrypt' | 'decrypt' | 'create' | 'interactive'>; static withProgress<T>(promise: Promise<T>, message?: string): Promise<T>; static displayWelcome(): void; static displayPrerequisites(): void; } //# sourceMappingURL=interactive.d.ts.map