Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1020 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 1020 Bytes

gendiff-cli-utilit

Code Climate Build Status Issue Count

Compares two configuration files and shows a difference.

Input formats [json, ini, yaml].
Output [plain text, pretty, json].

Install

$ npm install gendiff-cli

Usage

Usage: gendiff [options] <first_config> <second_config>

-f [plain, json, pretty = default]

   Compares two configuration files and shows a difference.
   
$ gendiff -f plain first-config.ini second-config.ini
Setting "common.setting2" deleted.
Setting "common.setting4" added with value "blah blah".
Setting "group1.baz" changed from "bas" to "bars".
Section "group2" deleted.