Skip to main content

Crate knf

Crate knf 

Source
Expand description

The knf pipeline: load layers, merge, emit.

Modules§

cli
clap derive structs.
format
Format detection, parsing and emission.
value
Conversion between the merge IR and the native JSON/TOML value types.

Functions§

merge_options
Builds the merge knobs, validating the whole rule set up front.
resolve_output_format
Decides the output format from -f and the inputs.
run
knf <files...> — merge layers left to right, print one document.
write_stdout
Writes to stdout, treating a closed pipe as success so knf big.json | head does not report an error the user cannot act on.