tazya / gendiff
Cli application for search differences in configuration files
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- docopt/docopt: ^1.0.0
- symfony/yaml: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.1
- squizlabs/php_codesniffer: ^3.0@dev
This package is auto-updated.
Last update: 2023-03-26 14:41:29 UTC
README
PHP-Project-lvl2
Gendiff - Cli application for search differences in configuration files
Install
Composer requires to install
Install command:
composer global require tazya/gendiff:dev-master
PHP version > 7.4.0 is required
Basic JSON and YAML config files compare
Use gendiff <file1> <file2>
command to compare configs
Recursive config files compare
Use gendiff <file1> <file2>
command to compare configs
Format options usage
Use gendiff --format <format> <file1> <file2>
command to compare configs. Allow 'pretty', 'plain' and 'json' formats
Get results in JSON
Use gendiff --format json <file1> <file2>
command to show results in JSON. It can be useful as library in your project