Skip to content

AnastasiaTimoshe/python-project-50

Repository files navigation

Hexlet tests and linter status:

Actions Status

CI check

Maintainability

Test Coverage

Description

Difference generator is a program that determines the difference between two data structures. A program is able to work with the formats: json, yaml

Installation

Clone the repository and use this commands:

make install
make build
make package-install

Optional arguments

  1. -h, --help gendiff -h - launch help
  2. -f, --format gendiff -f - set format of output. Available formats:
  • -f stylish - default format
  • -f plain
  • -f json

Comparison of flat files (JSON)

gendiff filepath1.json filepath2.json

asciicast

Comparison of flat files (YAML, YML)

gendiff filepath1.yaml filepath2.yaml

asciicast

Comparison of two files with a recursive structure (JSON, YAML, YML)

gendiff filepath1.json filepath2.json

asciicast

Work example formatter PLAIN

gendiff filepath1.json filepath2.json -f plain

asciicast

Work example formatter JSON

gendiff filepath1.json filepath2.json -f json

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published