hallernsk/php-project-lvl2

hexlet-project-2

v1.0.0 2021-04-01 10:12 UTC

This package is not auto-updated.

Last update: 2024-05-02 11:21:06 UTC


README

Github Actions Status Maintainability Test Coverage

Hexlet tests and linter status:

Actions Status

A php package calculates the difference between two json/yml files and outputs it in stylish (default), plain or json format

Setup

$ composer global require hallernsk/php-project-lvl2

Run

$ gendiff [--format <fmt>] <file1> <file2>

Generate diff of two JSON-files:

asciicast

Generate diff of two YAML-files:

asciicast

Generate diff of two complex JSON/YAML-files:

asciicast

Generate diff of two complex JSON/YAML-files in plain format:

asciicast

Generate diff of two complex JSON/YAML-files in json format:

asciicast