Skip to content

KarUrals/java-educational-project-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 

Repository files navigation

Differ generator

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.

Service badges

Description Badge
Hexlet tests and linter status: Actions Status
GitHub Actions workflow status: .github/workflows/test-and-linter-check.yml
CodeClimate maintainability status: Maintainability
CodeClimate TestCoverage status: Test Coverage

Application launch example

Example of comparison two files in different formatters (Asciinema Link):

Example GIF


Frequently used commands

Install

make install

Run with a test files to get result in stylish format

make run-dist-stylish

Run with a test files to get result in plain text format

make run-dist-plain

Run with a test files to get result in JSON format

make run-dist-json

Build

make build

Run checkstyle

make lint

Check for Dependency Updates

make check-updates