Skip to main content

Crate mdqy

Crate mdqy 

Source
Expand description

mdqy: jq for markdown.

Library first; the CLI in src/bin/mdqy.rs wraps run_cli.

Re-exports§

pub use ast::Node;
pub use ast::NodeKind;
pub use ast::Span;
pub use emit::OutputFormat;
pub use error::CompileError;
pub use error::RunError;
pub use value::Value;

Modules§

ast
emit
Output paths: JSON, markdown, tty. Each path is a separate submodule.
error
value

Structs§

Env
Scope: $x variables, user-defined functions, and filter-typed parameters bound by those functions.
Query
Compiled query.

Functions§

cli_command
markdown_options
parse
run_cli