Tool | Description |
---|---|
poetry | "Python dependency management and packaging made easy" |
CodeClimate Quality | "Your single solution for code quality" |
Flake8 | "Your tool for style guide enforcement" |
pytest | "pytest: helps you write better programs" |
GitHub Actions | "Automate your workflow from idea to production" |
The package contains Linux CLI application that generates diff between two files with either flat or nested structure.
Application builds diff in the form of python dict of dicts via recursive search algorithm, and provides an output in the desired format.
Supported input formats:
Output formats:
- Linux or WSL
- git
- Python >=3.8.1
- pip >=19.0
- poetry >=1.2.0
git clone https://github.com/tmvfb/gendiff.git
cd gendiff
make install
Check if app is properly installed by running the following in the command line:
show_diff -f stylish ./tests/fixtures/tree1.yaml ./tests/fixtures/tree2.yml
Type show_diff -h
for help.
For different output formats use following commands:
show_diff -f stylish file1 file2
show_diff -f plain file1 file2
show_diff -f json file1 file2
Made as a project for hexlet.io python course.