No description
Find a file
2024-07-15 12:56:31 +02:00
src update 2024-07-15 12:56:31 +02:00
.gitignore init 2023-11-04 08:19:49 +01:00
Cargo.lock update 2024-07-15 12:56:31 +02:00
Cargo.toml init 2023-11-04 08:19:49 +01:00
README.md update 2023-11-06 09:36:42 +01:00

mddiff

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