treease-cli 1.2.0

Command-line interface for querying, transforming, and previewing structured documents with Treease
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn cli_help_json() -> serde_json::Value {
    crate::spec::root_help_json_value()
}

pub fn operators_json() -> serde_json::Value {
    serde_json::to_value(crate::catalog::operators()).expect("operators should serialize")
}

pub fn formats_json() -> serde_json::Value {
    serde_json::to_value(crate::catalog::formats()).expect("formats should serialize")
}