Skip to content

ajib6ept/python-project-lvl2

Repository files navigation

Project #2 "Generate Difference"


Tests and linter status:

Actions Status Actions Status Maintainability Test Coverage pre-commit.ci status


This is the second project in the Python learning course hexlet.io

This package allows you to compare two files (json/yaml). Shows the difference between them using different output formats ('stylish', 'plain', 'json')

Installation

  • Install poetry
  • git clone https://github.com/ajib6ept/python-project-lvl2
  • cd python-project-lvl2/ && make install
  • make build
  • make package-install

brain-even


Usage

  • gendiff file1.json file2.yml
  • gendiff -f plain file1.yml file2.json

Comparing simple files

brain-even

Comparing nested files

brain-even

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published