kulikov-rv/gendiff

my second study project in Hexlet.io

0.1.2 2022-04-29 14:07 UTC

README

  • Maintainability
  • Test Coverage
  • Actions Status
  • PHP CI

Diff generator is a program that determines the difference between two data structures

Utility features:

  • Support for different input formats: yaml and json
  • Report generation in the form of plain text, stylish and json

Install

$ composer require kulikov-rv/gendiff

Demonstration reports

Stylish(default)

$ bin/gendiff pathToFile1 pathToFile2 

asciicast

Plain

$ bin/gendiff --format plain pathToFile1 pathToFile2 

asciicast

Json

$ bin/gendiff --format json pathToFile1 pathToFile2 

asciicast