Skip to content

This console application compares two files, file format can be "json" or "yaml". The result is displayed in the selected format "Stylish", "Plain" or "Json" formats.

Notifications You must be signed in to change notification settings

kitdim/Difference-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests and linter status:

Actions Status Java CI Maintainability Test Coverage

Difference Calculator

This is an application that determines the difference between two data structures (json, yaml). Utility features: support for different input formats, report generation in the form of plain text, stylish and json.

Start guide:

  1. Enter the location of the compiled application in the terminal(for example: ./build/install/app/bin/app)
  2. To output the result in the "stylish" format specify the paths to the files separated by a space(for example: ./build/install/app/bin/app ./src/main/resources/json/file1.json ./src/main/resources/json/file2.json).
  3. To output the result in "plain" or "json" format, type the command "-f" and space-separated "plain" or "json"(for example: ./build/install/app/bin/app -f plain ./src/main/resources/json/file1.json ./src/main/resources/json/file2.json).
  4. To get help, enter the command "-h".

Example of work:

Example Stylish

asciicast

Example Plain

asciicast

Example Json

asciicast

About

This console application compares two files, file format can be "json" or "yaml". The result is displayed in the selected format "Stylish", "Plain" or "Json" formats.

Resources

Stars

Watchers

Forks

Packages

No packages published