Skip to content

This is a training project in which I create CLI-utility for comparing two files.

Notifications You must be signed in to change notification settings

oleglego94/Gendiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gendiff

Python CI Maintainability Test Coverage

Hexlet tests and linter status:

hexlet-check

Description

Gendiff is a CLI-utility defining the difference between two files.

Installation

"gendiff" requires Python 3.6+ to run.

$ pip install -i https://test.pypi.org/simple/ oleglego94-gendiff --extra-index-url https://pypi.org/simple/

Usage

$ gendiff -h
usage: gendiff [-h] [-f {stylish,plain,json}] first_file second_file

Generate diff

positional arguments:
  first_file
  second_file

optional arguments:
  -h, --help            show this help message and exit
  -f {stylish,plain,json}, --format {stylish,plain,json}
                        set format of output (default: stylish)

gendiff for JSON files in stylish format

asciicast

gendiff for YAML files in stylish format

asciicast

gendiff for JSON tree files in stylish format

asciicast

gendiff for YAML tree files in stylish format

asciicast

gendiff for JSON, YAML files in plain format

asciicast

gendiff for JSON, YAML files in JSON format

asciicast

About

This is a training project in which I create CLI-utility for comparing two files.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published