Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

pershin-daniil/frontend-project-lvl2

Repository files navigation

Hexlet tests and linter status:

Actions Status Node.js CI Maintainability Test Coverage

gendiff 🧑‍💻

Compares two configuration files and shows a difference. And this is my second project on Hexlet.io. 🧑‍🎓

Installation ✅

To install gendiff, you need to clone repository first.

git clone git@github.com:pppershin/frontend-project-lvl2.git

Then use Make to install dependencies.

make install

To install locally and test gendiff.

make link

And now you can use gendiff 👍

Installation

asciicast

Usage 🎯

Check --help or -h for manual.

gendiff -h
Usage: gendiff [options] <filepath1> <filepath2>

Compares two configuration files and shows a difference.

Options:
  -V, --version        output the version number
  -f, --format <type>  output format
  -h, --help           display help for command

Available formats

  • stylish (default)
  • plain
  • json

Usage process

There's stylish and plain usage

asciicast

and here is json usage.

asciicast

About

Compares two configuration files and shows a difference.

Topics

Resources

Stars

Watchers

Forks