Utility to find differences in configuration files.
Utility features:
-
Format support json, yaml, ini
-
Generating a report in the form of plain text, standard and json
npm install gendiff-bukharovev -global
gendiff --format json before.yaml after.yaml
gendiff -h
Usage: gendiff [options] <firstConfig> <secondConfig>
Compares two configuration files and shows a difference.
Options:
-V, --version output the version number
-f, --format [type] Output formats: standard, plain, json
-h, --help output usage information
input json: https://asciinema.org/a/eh0uVVpMHBZU1WaxQg5YLmNVm
input yaml: https://asciinema.org/a/6c16QuJyL9g9ZXgh2V9rWDBha
input ini: https://asciinema.org/a/xSDxNGvZZTEI6Tbx8jIAseSZ6
output format standard: https://asciinema.org/a/GdrUyLz2Rkfh7UaxWgJex5L2J
output format plain: https://asciinema.org/a/nNNTuwlYJr8X1sxq6mI6bcp8Z
output format json: https://asciinema.org/a/I2Lr7g9fBn6V97UVeWgKsrRWy