ikijime/php-project-lvl2

Compare two configuration files and output difference.

0.7.0 2021-05-23 08:12 UTC

This package is auto-updated.

Last update: 2024-04-23 16:02:22 UTC


README

Hexlet tests and linter status:

Actions Status

Второй проект профессии php-программист на Hexlet.io

Test Coverage Maintainability

Описание

Консольная PHP утилита показывающая различие между YAML или JSON файлами. Поддерживает вывод в трёх форматах: Stylish(по умолчанию), Plain, Json.

Установка

composer global require ikijime/php-project-lvl2

Демонстрация работы

Generate diff

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

Options:
    -h --help                  Show this screen
    -v --version               Show version
    -f --format <fmt>          Report format [default: stylish]
Сравнение файлов Json в формате Stylish

asciicast

Сравнение файлов Yaml в формате Stylish

asciicast

Сравнение файлов в формате Plain

asciicast

Сравнение файлов в формате Json

asciicast