What problem does it solve?
The diffs tool addresses the need for an efficient way to generate real diffs from edits, streamlining the process and ensuring a clear and concise presentation of changes.
Core Features & Use Cases
- Real Diffs: Produce accurate and easy-to-understand diffs between 'before' and 'after' content or a unified 'patch' string.
- Viewer & File Artifacts: Access diffs via an interactive viewer or download a rendered file artifact in PNG or PDF format.
- Flexible Options: Customize the view mode, theme, layout, and quality settings to fit your specific requirements.
- Use Case: Ideal for collaborative development, where showing detailed code changes to teammates or stakeholders is essential.
Quick Start
Generate a diff file for the changes between 'old.txt' and 'new.txt' with a high-quality PDF output: 'diff old.txt new.txt --mode=file --fileFormat=pdf --fileQuality=hq'.