The package functionality is finding differences between two given files (.json or .yaml) Following formats are supported:
- stylish - structured view
- plain - plain view
- json - output in json format
Command line execution:
gendiff --format stylish file_path1.json file_path2.json
Usage in your own code:
diff = generate_diff(file_path1, file_path2, format_name)