Skip to content

ErKir/python-project-50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library shows difference between two configuration files and shows a difference

Actions StatusMaintainabilityTest Coverage

Project description: The project implements the function of comparing json or yaml files and outputting the difference in different formats.

Get started

Clone the repository and use make package-install command. For help use gendiff -h command.

For comparison, use the following command gendiff filepath1 filepath2 the library will return the difference between files in the default format stylish To return the result in a different format, use the --format flag and the format name, the following formats are available: plain, json and also stylish as default.

For example: gendiff --format plain filepath1 filepath2

Compare two simple JSON files

asciicast

Compare two simple YAML files

asciicast

Example of working with nested structures JSON or YAML files

asciicast

Example of working with "plain" formatter for JSON or YAML files

asciicast

Example of working with "json" formatter for JSON or YAML files

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published