vitaliy/php-project-lvl2

dev-master 2020-11-27 14:17 UTC

This package is auto-updated.

Last update: 2024-04-27 21:43:21 UTC


README

68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393937313032353330363066313836386237662f6d61696e7461696e6162696c697479 68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393937313032353330363066313836386237662f746573745f636f766572616765 PHP CI

Setup

via Composer:

  1. global installation to use CLI - utilite.
 composer global require vitaliy/php-project-lvl2
  1. local installation to use as library.
composer require vitaliy/php-project-lvl2

Description

The gendiff is cli utilite. It show differ bettween two files (Json and Yaml format supported).
The differ can be shown in different formats.
Support [ -- pretty(by default)], [-- plain] and [--json] output formatters.

Usage

Usage:

gendiff (-h|--help)
gendiff (-v|--version)
gendiff [--format ] <firstFile> <secondFile>

Options:

-h --help Show this screen
-v --version Show version
--format Report format [default: pretty]

Examples

Pretty and plain formatters

asciicast

Json formatter

asciicast