项目作者: ynqa

项目描述 :
Print colored diff more readable
高级语言: Go
项目地址: git://github.com/ynqa/diffy.git
创建时间: 2020-05-10T00:09:25Z
项目社区:https://github.com/ynqa/diffy

开源协议:MIT License

下载


diffy

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


Installation

For MacOS:

  1. $ brew tap ynqa/tap-archived
  2. $ brew install diffy

From source codes:

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

Usage

  1. Print colored diff more readable
  2. Usage:
  3. diffy [flags] FILE1 FILE2
  4. Flags:
  5. -c, --context int number of context to print (default 3)
  6. -h, --help help for diffy
  7. --no-header no file name header
  8. -s, --style string output style; one of unified|split (default "unified")
  9. --tab-size int tab stop spacing (default 4)
  10. -v, --version version for diffy