Compares two configuration files and shows a difference. And this is my second project on Hexlet.io. 🧑🎓
To install gendiff, you need to clone repository first.
git clone git@github.com:pppershin/frontend-project-lvl2.git
Then use Make to install dependencies.
make install
To install locally and test gendiff
.
make link
And now you can use gendiff 👍
Check --help
or -h
for manual.
gendiff -h
Usage: gendiff [options] <filepath1> <filepath2>
Compares two configuration files and shows a difference.
Options:
-V, --version output the version number
-f, --format <type> output format
-h, --help display help for command
- stylish (default)
- plain
- json
There's stylish
and plain
usage
and here is json
usage.