Skip to content

konsttin/php-project-lvl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Differ utility

Actions Status PHP CI Maintainability Test Coverage

Utility compares json or yml files. Output can be displayed in formats:

  • stylish
  • plain
  • json

Requirements

Install

$ git clone [email protected]:konsttin/php-project-lvl2.git
$ cd php-project-lvl2/
$ make install

Usage

gendiff (-h | --help)

gendiff (-v | --version)

gendiff [--format ]

Options

-h --help    Show this screen

-v --version   Show version

--format   Report format [default: stylish]

Examples of usage

$  ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f stylish

$  ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f plain

$  ./bin/gendiff tests/fixtures/file1.json tests/fixtures/file2.json -f json

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published