Skip to main content

Crate yaml_rt_cli

Crate yaml_rt_cli 

Source
Expand description

Command-line querying and editing operations for the yaml-rt binary.

The binary searches YAML documents with JSONPath, applies JSON Pointer operations, and executes transactional YAML or JSON patch documents while retaining unrelated presentation. File targets can also be directories, which are searched recursively for YAML files; an omitted target searches the current directory, while - reads standard input. run is public so integrations can supply their own argument and I/O streams.

Structs§

RunOptions
Controls presentation for run_with_options.

Functions§

run
Runs the command-line application against supplied streams.
run_with_options
Runs the command-line application with explicit presentation options.