mdqy 0.1.3

jq for markdown: query and transform Markdown with a hybrid selector and jq DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! How the CLI combines multiple input files before running a query.

/// Strategy for multi-file input.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
pub enum Aggregation {
    /// Run the query once per file. Default, and what `jq . a.json b.json` does.
    #[default]
    PerFile,
    /// Collect every root node into an array and bind it to `.`.
    Slurp,
    /// Stitch every file's children into one virtual root, run once.
    Merge,
}