Use Composer
$ composer global require damir/difference-calculator:dev-master$ git clone https://github.com/DAS27/difference-calculator.git
$ make install$ make testExecute in bash:
gendiff [--format <fmt>] <firstFile> <secondFile>
Format is optional and have pretty output format by default. So you don't need to specify a format and can execute like this:
gendiff <firstFile> <secondFile>
or explicitly specifying the desired format:
gendiff --format pretty <firstFile> <secondFile>
gendiff --format plain <firstFile> <secondFile>
gendiff --format json <firstFile> <secondFile>