Utility compares json or yml files. Output can be displayed in formats:
- stylish
- plain
- json
$ git clone [email protected]:konsttin/php-project-lvl2.git
$ cd php-project-lvl2/
$ make install
gendiff (-h | --help)
gendiff (-v | --version)
gendiff [--format ]
-h --help Show this screen
-v --version Show version
--format Report format [default: stylish]
$ ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f stylish
$ ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f plain
$ ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f json