damir/difference-calculator

My second project on php

dev-master 2020-07-21 03:39 UTC

This package is auto-updated.

Last update: 2024-04-21 11:52:35 UTC


README

PHP CI Maintainability Test Coverage

Installation

Use Composer

$ composer global require damir/difference-calculator:dev-master

Setup

$ git clone https://github.com/DAS27/difference-calculator.git

$ make install

Run tests

$ make test

Usage

Execute in bash:

gendiff [--format <fmt>] <firstFile> <secondFile>

Format is optional and have pretty output format by default. So you don't need to specify a format and can execute like this:

gendiff <firstFile> <secondFile>

or explicitly specifying the desired format:

gendiff --format pretty <firstFile> <secondFile>

asciicast

gendiff --format plain <firstFile> <secondFile>

asciicast

gendiff --format json <firstFile> <secondFile>

asciicast