molych/gendiff

hexlet-project

v1 2020-11-08 00:10 UTC

This package is auto-updated.

Last update: 2022-06-09 19:08:34 UTC


README

badge.svg 68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39663031653763363934326432386561363233342f6d61696e7461696e6162696c697479 68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39663031653763363934326432386561363233342f746573745f636f766572616765

Program compares two configuration files. The file comparison result can be displayed in different formats: for example, plain ("flat") or json ("JSON format")

Generate diff

Usage:
  gendiff (-h|--help)
  gendiff [--format <fmt>] <firstFile> <secondFile>
  
Options:
  -h --help                     Show this screen
  --format <fmt>                Report format [default: stylish]

install

composer global require molych/gendiff

Comparison of flat files (JSON)

68747470733a2f2f61736369696e656d612e6f72672f612f3336333632362e706e67

Comparison of deep files (Pretty format)

68747470733a2f2f61736369696e656d612e6f72672f612f3337303331362e706e67

Comparison of deep files (Plain format)

68747470733a2f2f61736369696e656d612e6f72672f612f3337303331382e706e67