Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

ynqa/diffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diffy

diffy prints diffs like GitHub pull requests (e.g. unified, split), and alternative to diff.

Installation

For MacOS:

$ brew tap ynqa/tap-archived
$ brew install diffy

From source codes:

$ go get -u github.com/ynqa/diffy

Usage

Print colored diff more readable

Usage:
  diffy [flags] FILE1 FILE2

Flags:
  -c, --context int    number of context to print (default 3)
  -h, --help           help for diffy
      --no-header      no file name header
  -s, --style string   output style; one of unified|split (default "unified")
      --tab-size int   tab stop spacing (default 4)
  -v, --version        version for diffy