This program compares two files and shows the difference between that files. It supports different data formats (JSON, YAML). It also supports three formats of output: stylish, plain and JSON.
- Python 3.10+
- Poetry 1.7+
- Pip 22.0+
- Clone the repo
git clone https://github.com/DSungatulin/python-project-50
- Install application
make install
make build
make package-install
To view help, use the follwoing command:
gendiff -h
To use the program, use the following command:
gendiff [-f FORMAT] first_file second_file
FORMAT
is the output format. It supporsts stylish
, plain
and json
formats. Default format is stylish
.
first_file
, second_file
are the files to compare.