@git.zone/cli
Version:
A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.
14 lines (13 loc) • 536 B
TypeScript
import type { IPlannedChange } from './interfaces.format.js';
export declare class DiffReporter {
private diffs;
generateDiff(filePath: string, oldContent: string, newContent: string): Promise<string>;
generateDiffForChange(change: IPlannedChange): Promise<string | null>;
displayDiff(filePath: string, diff?: string): void;
displayAllDiffs(): void;
private formatDiffHeader;
private colorDiff;
saveDiffReport(outputPath: string): Promise<void>;
hasAnyDiffs(): boolean;
getDiffCount(): number;
}