UNPKG

envx-cli

Version:

Environment file encryption and management tool

32 lines 1.49 kB
import { CommandResult } from '../types'; export declare class ExecUtils { static exec(command: string, options?: { silent?: boolean; cwd?: string; }): CommandResult; static encryptFile(filePath: string, passphrase: string): CommandResult; static decryptFile(encryptedPath: string, outputPath: string, passphrase: string): CommandResult; static isGpgAvailable(): boolean; static getCurrentDir(): string; static dirExists(path: string): boolean; static fileExists(path: string): boolean; static ensureDir(path: string): void; static copyFile(source: string, destination: string): CommandResult; static moveFile(source: string, destination: string): CommandResult; static removeFile(path: string): CommandResult; static testGpgOperation(passphrase: string): CommandResult; } export declare class CliUtils { static success(message: string): void; static error(message: string): void; static warning(message: string): void; static info(message: string): void; static header(message: string): void; static subheader(message: string): void; static printFileOperation(result: CommandResult, operation: string): void; static printTable(headers: string[], rows: string[][]): void; static formatPath(path: string, cwd: string): string; static formatEnvironment(env: string): string; static formatStatus(status: string, success?: boolean): string; } //# sourceMappingURL=exec.d.ts.map