Skip to content

poweredbyskx/python-project-50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Test Coverage

Gendiff

Educational project

An application for finding the difference in 2 files of json, yaml, yaml formats and displaying the result in several variants

Installation

  1. Requires Python version 3.12 or higher and Poetry
  2. Clone the project: >> git clone git@github.com:poweredbyskx/python-project-50.git
  3. Install the project: >> make install
  4. Build the project: >> make build
  5. Install the package: >> make package-install

Usage and Options:

To use it just type gendiff [-h] [-f FORMAT] <path_to_file_1> <path_to_file_2>

  • -h, --help - show help message.
  • -f, --format - ability to specify format selection. Formats are available:
    • stylish - displaying differences in the form of a tree
    • plain - displaying differences line by line
    • json - output in json format

The command for the example: gendiff example/file1.json example/file2.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors