# mdpatch Patch the frontmatter of markdown files # Usage ``` Usage: mdpatch [OPTIONS] Arguments: Markdown File Options: -p, --patch Apply JSON Patch file. If set to '-' read from stdin --merge Merge Markdown frontmatter. If set to '-' read from stdin -a, --add Only patch add operations -m, --modify Only patch modify operations -d, --delete Only patch delete operations -v, --verbose Print out what changes will be made to the document -n, --dryrun Dont modify the input file. Only print what would be done -o, --output Write patched file to output path. Dont modify the input file directly. If set to '-' output to stdout --notest Ignore tests in JSON Patch files -x, --exclude Exclude json path from patch -k, --keys Only include the specified json paths in patch ```