byteweaver
Version:
A powerful utility to weave files together with advanced filtering, minification and templating
22 lines (21 loc) • 541 B
TypeScript
export interface ByteWeaverOptions {
recursive?: boolean;
exclude?: string[];
include?: string[];
minify?: boolean;
outputTemplate?: string | null;
debug?: boolean;
header?: string;
footer?: string;
imageMode?: 'base64-html' | 'base64-markdown' | 'none';
}
export interface ConcatenateResult {
success: boolean;
fileCount: number;
outputFile: string;
processedFiles?: string[];
}
export interface CliOptions extends ByteWeaverOptions {
directoryPath: string;
outputFile: string;
}