gendiff-cake

Difference calculator app by Cognitive Cake

Usage no npm install needed!

<script type="module">
  import gendiffCake from 'https://cdn.skypack.dev/gendiff-cake';
</script>

README

Difference calculator

Maintainability Build Status

Example

$ gendiff --format plain first-config.ini second-config.ini
Property 'common.setting2' was deleted
Property 'common.setting3' was updated. From 'true' to complex value
Property 'common.setting6.ops' was added with value: 'vops'
Property 'common.setting4' was added with value: 'blah blah'
Property 'group1.baz' was updated. From 'bas' to 'bars'
Property 'group1.nest' was updated. From complex value to 'str'
Property 'group1.rest' was added with value: '350'
Property 'group1.boolean' was added with value: 'false'
Property 'group2' was deleted
Property 'group3' was added with value: complex value

Usage

gendiff [options] <firstConfig> <secondConfig>

Supported formats - json, yaml, ini.

Options

-f --format [format] --- Format output: plain, pretty or json (default pretty)