The following repository contains gendiff function. It compares two configuration files and shows a difference. Function works with .yml .yaml and .json formats.
- Fork this repo by SSH key:
git@github.com:vlad1slove1/frontend-project-lvl2.git
- Install depencies:
make install
- Link the package to execute gendiff function:
make link
- Display help:
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 output usage information
- Run linter:
make lint
- Run test:
make test
- Get test coverage:
make test-coverage