Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.88 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.88 KB

Actions Status Github Actions Status Maintainability Test Coverage

Command line utility that compares two configuration files and shows a difference. Can be used as library.

  • Take configuration files in 2 formats: json and yaml
  • Show output in formats: stylish, plain and json. Default format: stylish

Usage

gendiff [-h] [-f FORMAT] first_file second_file

Setup

Clone repository:
git clone git@github.com:yudzhum/python-project-50.git
Install poetry:
make install
Install package:
make package-install

Example with plain json files. Formatter 'stylish'

asciicast

Example with plain yaml files. Formatter 'stylish'

asciicast

Example with nested json files. Formatter 'stylish'

asciicast

Example with formatter 'plain'

asciicast

Example with formatter 'json'

asciicast