The utility compares two configuration files and displays the result of the comparison in the console.
Supported formats: json
, yaml
, ini
.
Supports output in several formats: stylish
, plain
, json
.
$ npm install gendiff-utility
$ gendiff -h
Usage: gendiff [options] <filepath1> <filepath2>
Compares two configuration files and shows a difference.
Options:
-V, --version output usage information
-f, --format [type] output format
-h, --help display help for command
$ gendiff --format stylish <file1> <file2>
$ gendiff --format plain <file1> <file2>
$ gendiff --format json <file1> <file2>