Skip to content

rizhik356/frontend-project-46

Repository files navigation

Hexlet tests and linter status:

Actions Status build-check Maintainability Test Coverage

GenDiff

Gendiff compares 2 different files and displays the result in the selected format

Installation

make install

Format type of input files

Gendiff 0.0.8 supports : JSON, Yaml

Type of output files

Gendiff 0.0.8 can returns the result of comparasion in 3 formats:

Help

The help option -h, --help

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

Compares two configuration files and shows a difference.

Options:
  -f, --format <type>  output format (default: "stylish")
  -V, --version        output the version number
  -h, --help           display help for command

Compare of 2 files

gendiff <filepath1> <filepath2>

Working gendiff, tests (EsLint, Jest) and compare two files (JSON, YAML)

gendiff <filepath1> <filepath2>

Working gendiff with formatter stylish on plain and nested files

gendiff -f stylish <filepath1> <filepath2>, or gendiff <filepath1> <filepath2>

Working gendiff with formatter plain on nested files

gendiff -f plain <filepath1> <filepath2>

Working gendiff with formatter json on nested files

gendiff -f json <filepath1> <filepath2>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors