Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.64 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.64 KB

Hexlet tests and linter status:

Actions Status Test Coverage Node CI

Description

This programm determines the difference between two data structures.


Utility features:

  • Supports YAML and JSON input formats
  • Report can be generated in the form of a plain text, JSON output or stylish format

Installation
To be able to run this program you need to have Node.JS installed.

git clone https://github.com/metastasio/frontend-project-44.git

cd frontend-project-44

make install

npm link

Usage example:
You can choose the output format by using the flag --format (-f) with either plain, JSON or stylish.
Default output format is 'stylish':

gendiff path/to/file1 path/to/file2

asciicast

Plain output:

gendiff -f plain path/to/file1 path/to/file2

asciicast
JSON output:

gendiff -f json path/to/file1 path/to/file2

asciicast