Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GENDIFF

Compares two configuration files (json, yaml) and shows differences in three chosen formats: tylish, plain or json.

Hexlet tests and linter status:

Actions Status

Github Actions badge:

Python CI

SonarQube badges:

Quality Gate Status Coverage

Installation:

git clone https://github.com/volhapunko/python-project-50.git
cd python-project-50
make install

Usage:

Stylish format (default)

gendiff file3.json file4.json
gendiff file3.yml file4.yml

Plain format

gendiff -f plain file3.json file4.json
gendiff -f plain file3.yml file4.yml

Json format

gendiff -f json file3.json file4.json
gendiff -f json file3.yml file4.yml

Asciinema:

For plain files (json, yaml)

asciicast

For nested structures (json, yaml)

Stylish

asciicast

Plain

asciicast

Json

asciicast

Testing:

make lint
make test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages