Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 2.03 KB

README.md

File metadata and controls

52 lines (29 loc) · 2.03 KB

Hexlet tests and linter status:

Actions Status Java CI Maintainability Test Coverage

Description:

"Difference Calculator" is a program that determines the difference between two data structures. A similar mechanism is used when outputting tests or when automatically tracking changes in configuration files.

Utility Features:

  • Support for different input formats: yaml and json

  • Generating a report in the form of plain text, stylish and json

When run without parameters, the result of comparing two test json files will be displayed.

Setup

make install

Use

./build/install/app/bin/app file1 file2

When launching the application without parameters, the result of comparing two json text files will be shown.

For reference information, use the -h key:

help

Specify the path to two json or yaml files and select the format (stylish by default) for displaying information about the differences:

Output example in stylish format:

stylish

Output example in plain format:

plain

Output example in json format:

json