这是一个用Python编写的简单diff工具。diff结果可以打印到控制台或HTML文件中。
项目描述
这是一个用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的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 65405d61d6335848f67e15560bc5b84bc8fac23f2b9a224e8a479b0326d9148e |
|
MD5 | 81e2470f4696a46456b3de1cbf959840 |
|
BLAKE2b-256 | f5d55fb81755108693b78f5236be9cca039b62db01160846798edc3125669f87 |