alexey-654/php-project-lvl2

Files diff generator

v0.1 2020-08-02 12:17 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:17 UTC


README

Maintainability Test Coverage PHP CI

Installation

$ composer require alexey-654/php-project-lvl2

Usage

This CLI support -

  • for input files - JSON or YAML format
  • for output three type format - 'pretty' by default, 'plain' and JSON

In your terminal go to the directory with installed package, then type:

$ bin/gendiff --format plain pathToFile1 pathToFile2

Example

input JSON files, output format - 'pretty'

asciicast

input YAML files, output format - 'pretty'

asciicast

input JSON files, output format - 'plain'

asciicast

input JSON files, output format - 'JSON'

asciicast