Gendiff (Difference generator) - a CLI tool to distinguish the difference in two JSON and/or YAML files. The output could be in plain text, detailed difference, or be JSON dictionary.
git clone https://github.com/DREU007/python-project-50
cd python-project-50
make install
make build
make package-install
make package-remove
- Python ^3.10
- poetry
- make
usage: gendiff [-h] [-f FORMAT] first_file second_file
Compares two configuration files and shows a difference.
positional arguments:
first_file
second_file
options:
-h, --help show this help message and exit
-f FORMAT, --format FORMAT
set format of output (default: stylish).
Formats: {stylish, plain, json}.
Use of help argument & Comparison of 2 .json files:
Comparison of 2 complex .yml files: