Skip to content

yudzhum/gendiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Study project N2. "Gendiff" compares two configuration files and shows a difference.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published