A difference calculator is a program that determines the difference between two data structures.
- Support for different input formats: yaml, json
- Report generation in the form of plain text, stylish and json
$ git clone https://github.com/Aston585/python-project-50.git
$ cd ./python-project-50
$ make install
$ make build
$ gendiff filepath1.json filepath2.json
{
common: {
+ follow: false
setting1: Value 1
- setting2: 200
- setting3: true
+ setting3: null
+ setting5: {
key5: value5
}
}
}
$ gendiff -f plain filepath1.json filepath2.yml
Setting "common.setting4" was added with value: False
Setting "group1.baz" was updated. From 'bas' to 'bars'
Section "group2" was removed