This project is a CLI application that allows you to determine the difference between two data structures.
Application features:
- Supports different input formats: JSON and YAML
- Report generation as plain text, stylish and JSON
Result of the project - console utility gendiff
with the following parameters:
./build/install/app/bin/app -h
Usage: gendiff [-hV] [-f=format] filepath1 filepath2
Compares two configuration files and shows a difference.
filepath1 path to first file
filepath2 path to second file
-f, --format=format output format [default: stylish]
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Description | Badge |
---|---|
Hexlet tests and linter status: | |
GitHub Actions workflow status: | |
CodeClimate maintainability status: | |
CodeClimate TestCoverage status: |
Example of comparison two files in different formatters (Asciinema Link):
make install
make run-dist-stylish
make run-dist-plain
make run-dist-json
make build
make lint
make check-updates