UNPKG

deuce-gendiff

Version:

CLI application, which compares two configurations files and shows a difference

32 lines (17 loc) 1.32 kB
# difference-generator [![Build Status](https://travis-ci.org/PavelDeuce/frontend-project-lvl2.svg?branch=master)](https://travis-ci.org/PavelDeuce/frontend-project-lvl2) [![Maintainability](https://api.codeclimate.com/v1/badges/56acf43ebb8c8d5c78f2/maintainability)](https://codeclimate.com/github/PavelDeuce/frontend-project-lvl2/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/56acf43ebb8c8d5c78f2/test_coverage)](https://codeclimate.com/github/PavelDeuce/frontend-project-lvl2/test_coverage) ## Description Compares two configurations files and shows a difference. Install `$ npm install -g deuce-gendiff` Launch `$ gendiff <file_1> <file_2>` ### How to compare flat files and nested files (json, yaml, ini) [![asciicast](https://asciinema.org/a/PwsfqzqUGOEgTfRJnu9YXeQ6j.svg)](https://asciinema.org/a/PwsfqzqUGOEgTfRJnu9YXeQ6j) [![asciicast](https://asciinema.org/a/DHQSMNZC2hqJOFJnLZge7TSSL.svg)](https://asciinema.org/a/DHQSMNZC2hqJOFJnLZge7TSSL) ### How to compare files with plain output [![asciicast](https://asciinema.org/a/mP0KnKch2Fy51zMIYJksaHiHo.svg)](https://asciinema.org/a/mP0KnKch2Fy51zMIYJksaHiHo) ### Hot to compare files with json output [![asciicast](https://asciinema.org/a/xVmZVvzyUfknxXkO6CT8N1YJt.svg)](https://asciinema.org/a/xVmZVvzyUfknxXkO6CT8N1YJt)