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) file for comparison.
  • Required: Yes.

-m, --middle <MIDDLE>

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

-r, --right <RIGHT>

  • Path to the right (modified) file for comparison.
  • Required: Yes.

-t, --title <TITLE>

  • Title displayed at the top of the HTML diff report.
  • Default value: Diff Report.

--left-title <LEFT_TITLE>

  • Column header label for the left file in the diff report.
  • Default value: Old Version.
  • Aliases: lt, ltitle.

--right-title <RIGHT_TITLE>

  • Column header label for the right file in the diff report.
  • Default value: New Version.
  • Aliases: rt, rtitle.

-o, --output <OUTPUT>

  • Output path for the generated HTML diff report.
  • Required: Yes.

-h, --help

  • Print help.