UNPKG

423 BTypeScriptView Raw
1export interface EncryptCLIOptions {
2 pattern: string[];
3 file?: string;
4 encKey: string;
5 del?: boolean;
6 jsonMode?: boolean;
7}
8/**
9 * Encrypts all files in given directory (except *.enc), saves encrypted versions as filename.ext.enc.
10 * Using provided encKey.
11 */
12export declare function secretsEncrypt(pattern: string[], file: string | undefined, encKey: string, del?: boolean, jsonMode?: boolean): void;