跳转到主要内容

这是一个用Python编写的简单diff工具。diff结果可以打印到控制台或HTML文件中。

项目描述

https://travis-ci.org/askeing/diff_py.svg?branch=master

这是一个用Python编写的简单diff工具。diff结果可以打印到控制台或HTML文件中。

用法

usage: diff_py [-h] [-c | -C NUM | -u | -U NUM | -n | -H OUTPUT_FILE] [-v]
               FILES FILES

The simple diff tool which is written by Python.

positional arguments:
  FILES                 can be "FILE1 FILE2", "DIR1 DIR2", "FILE DIR", or "DIR
                        FILE"

optional arguments:
  -h, --help            show this help message and exit
  -c, --context         output 3 lines of copied context
  -C NUM                output NUM lines of copied context
  -u, --unified         output 3 lines of unified context
  -U NUM                output NUM lines of unified context
  -n, --ndiff           output Python Differ-style context
  -H OUTPUT_FILE, --html OUTPUT_FILE
                        output HTML format context
  -v, --version         show program's version number and exit

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

diff_py-0.0.11.tar.gz (6.4 kB 查看哈希)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面