UNPKG

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