Skip to content

JduMoment/Project-Difference-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Python CI

The program works with files of the format .json and .yml any nesting.

It takes as arguments two files to compare and the format in which the result should be output. By default, the result is output in stylish format, but you can also specify plain or json. The name of the format should be specified after the -f switch.

For example, if you want output in plain format, you would enter the command: gendiff -f plain path_to_file path_to_file

This asciinema demonstrates the generation of file differences in stylish format: asciicast

Demonstrates the generation of file differences in plain format: asciicast

Demonstrates the generation of file differences in json format: asciicast

For write to a file, just specify the path to the file: gendiff -f json path_to_file path_to_file > file_for_writing. The output has already been converted to the json format.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published