Skip to Main content

tuyen diff

Generate an HTML diff report comparing two or three files

Usage

tuyen diff [OPTIONS] --left <LEFT> --right <RIGHT> --output <OUTPUT>

Options

-l, --left <LEFT>

Path to the left (original/old) file

-m, --middle <MIDDLE>

Path to the middle (base) file for three-way diffs

-r, --right <RIGHT>

Path to the right (new/modified) file

-t, --title <TITLE>

Title displayed at the top of the HTML diff report
Default values: Diff Report

--left-title <LEFT_TITLE>

Column header for the left file (default: "Old Version")
Default values: Old Version
Aliases: lt, ltitle

--right-title <RIGHT_TITLE>

Column header for the right file (default: "New Version")
Default values: New Version
Aliases: rt, rtitle

-o, --output <OUTPUT>

Output path for the generated HTML diff report

-h, --help

Print help.