fey/php-project-lvl2

View on GitHub
README.md

Summary

Maintainability
Test Coverage
[![Maintainability](https://api.codeclimate.com/v1/badges/46287d6d6562f2b1aadc/maintainability)](https://codeclimate.com/github/fey/php-project-lvl2/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/46287d6d6562f2b1aadc/test_coverage)](https://codeclimate.com/github/fey/php-project-lvl2/test_coverage)
[![codecov](https://codecov.io/gh/fey/php-project-lvl2/branch/master/graph/badge.svg)](https://codecov.io/gh/fey/php-project-lvl2)
[![Build Status](https://travis-ci.org/fey/php-project-lvl2.svg?branch=master)](https://travis-ci.org/fey/php-project-lvl2)
[![Latest Stable Version](https://poser.pugx.org/fey/gendiff/v/stable)](https://packagist.org/packages/fey/gendiff)
[![Latest Unstable Version](https://poser.pugx.org/fey/gendiff/v/unstable)](https://packagist.org/packages/fey/gendiff)

#

## prerequisites

* PHP 7.4
* Composer

## installation

`composer g require fey/gendiff dev-master`

## usage

```sh
Generate diff

Usage:
  gendiff (-h|--help)
  gendiff [--format <fmt>] <firstFile> <secondFile>

Options:
  -h --help                     Show this screen
  --format <fmt>                Report format [default: pretty]
```

## asciinema

(step 2) (https://asciinema.org/a/oMNO3dE79La73DKsWGPh7MU78)(https://asciinema.org/a/oMNO3dE79La73DKsWGPh7MU78)

Yaml parse (step 3)- [https://asciinema.org/a/hDzbTZ5o36fM9yAI0IttFyYqn](https://asciinema.org/a/hDzbTZ5o36fM9yAI0IttFyYqn)

Diff nested JSON (step 4)- [https://asciinema.org/a/J5LRp7UsTFSlv5K9hj9PqwQvb](https://asciinema.org/a/J5LRp7UsTFSlv5K9hj9PqwQvb)

Diff plain output (step 5) [https://asciinema.org/a/QNixqqZTgb3ZLdxTscqhttHMv](https://asciinema.org/a/QNixqqZTgb3ZLdxTscqhttHMv)

Diff json output (step 6) [https://asciinema.org/a/lbejw5hQj0gC32RdJ4dJ7N5Af](https://asciinema.org/a/lbejw5hQj0gC32RdJ4dJ7N5Af)