Running this tool requires two files to compare. It will output the difference to an HTML file which can be viewed in a browser to see what changed between files.
# Install tool
pip3 install diff-tool
# Install locally
make install
Usage:
diff-tool --file1 /path/to/file1.txt --file2 /path/to/file2.txt --output path/to/diff.html
Options:
-h, --help show this help message and exit
-f1 FILE1, --file1 FILE1
The path to the base file to compare a second file to.
-f2 FILE2, --file2 FILE2
The path to the second file compared to the base file.
-o OUTPUT, --output OUTPUT
The path/name to the output file where the diff will be stored.
# Get a comprehensive list of development tools
make help
# Run the tool locally
venv/bin/python diff_tool/diff_files.py --help