damir / difference-calculator
My second project on php
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- ext-json: *
- docopt/docopt: ^1.0
- funct/funct: ^1.5
- symfony/yaml: ^5.0
- tightenco/collect: *
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
- phpunit/phpunit: ^8.4
- squizlabs/php_codesniffer: ^3.5.5
This package is auto-updated.
Last update: 2024-04-21 11:52:35 UTC
README
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>
gendiff --format plain <firstFile> <secondFile>
gendiff --format json <firstFile> <secondFile>