Skip to content

AlekseyIvanyukov/frontend-project-46

Repository files navigation

Hexlet tests, linter status, maintainability and test coverage:

Actions Status Maintainability Test Coverage

Difference calculator

Getting started

Prerequisites

  • npm should be installed
  • git should be installed

Basic installation

Difference calculator is installed by running the following command in your terminal. You can install this via the command-line with git.

via git

git clone https://github.com/AlekseyIvanyukov/frontend-project-46.git
cd frontend-project-46

To install

make install
Usage and options:
gendiff -h

asciicast

Example diff of two flat files (json):
gendiff file3.json file4.json

asciicast

Example diff of two flat files yml (yaml):
gendiff file3.yml file4.yml

asciicast

Recursive comparsion with default format 'stylish':
gendiff file1.json file2.json

asciicast

Recursive comparsion with plain format:
gendiff -f plain file1.json file2.yaml

asciicast

Recursive comparsion with json format:
gendiff -f json file1.json file2.yaml

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published