Skip to content

Latest commit

 

History

History
42 lines (38 loc) · 2.34 KB

README.md

File metadata and controls

42 lines (38 loc) · 2.34 KB

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