koimo
v1.1.0
Published
YAML key differ
Downloads
3
Readme
{ Koimo }
YAML Key Differ - Obtain the difference in keys between two YAML files. Great for YAML I18n language files.
Usage
Install
npm install -g koimo
Diff two YAML files (sans-color)
$ koimo examples/test1.yaml examples/test2.yaml
===================
Koimo - YAML Diff
===================
[ test1.yaml ] vs. [ test2.yaml ]
Missing keys:
- level1_1.level2_3.level3_1
- level1_1.level2_3.level3_2
- level1_2.level2_1.level3_2
Additional keys:
- level1_2.level2_2.level3_1
or more YAML files with more chopping
$ koimo --level=2 examples/*.yaml
===================
Koimo - YAML Diff
===================
[ test1.yaml ] vs. [ test2.yaml, test3.yaml ]
Missing keys:
- level2_3.level3_1
- level2_3.level3_2
- level2_1.level3_2
Additional keys:
- level2_2.level3_1
Components
Copyright
Copyright © 2014 Nicholas Hwang