@syntropysoft/praetorian
Version:
Praetorian CLI – A universal multi-environment configuration validator for DevSecOps teams. Validate, compare, and secure YAML/ENV files with ease.
19 lines • 478 B
TypeScript
export interface FileAdapter {
/**
* Check if this adapter can handle the given file
*/
canHandle(filePath: string): boolean;
/**
* Read and parse the file content
*/
read(filePath: string): Promise<Record<string, any>>;
/**
* Get the format name for this adapter
*/
getFormat(): string;
/**
* Get supported file extensions
*/
getSupportedExtensions(): string[];
}
//# sourceMappingURL=FileAdapter.d.ts.map