koimo

1.1.0 • Public • Published

{ Koimo } Build Status

YAML Key Differ - Obtain the difference in keys between two YAML files. Great for YAML I18n language files.

koimo

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

Readme

Keywords

none

Package Sidebar

Install

npm i koimo

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • geekjuice