No description
|
|
||
|---|---|---|
| .woodpecker | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| PKGBUILD | ||
| README.md | ||
| renovate.json | ||
mddiff
Deprecated.
mddiffis no longer maintained. All functionality has been absorbed into jsaw.Migration:
# mddiff a.md b.md jsaw diff a.md b.md --patch # mddiff --add a.md b.md jsaw diff a.md b.md --patch --add # mddiff --exclude /status a.md b.md jsaw diff a.md b.md --patch --exclude /status # mddiff --test /version 1.0 a.md b.md jsaw diff a.md b.md --patch --test /version 1.0 # Multiple test operations (was single in mddiff, now repeatable) jsaw diff a.md b.md --patch --test /version 1.0 --test /status active
mddiff is a tool for comparing the frontmatter of two markdown files and generating a JSON patch file.
Usage
Usage: mddiff [OPTIONS] <file> <file2>
Arguments:
<file> First File
<file2> Second File
Options:
-p, --pretty Output formatted json patch
-a, --add Only output add operations
-m, --modify Only output modify operations
-d, --delete Only output delete operations
-t, --test <key> <val> Add test case to json patch
-x, --exclude <JSONPATH> Exclude json path from diff
-k, --keys <JSONPATH> Only include the specified json paths in diff