Run one Ruby snippet against the whole YAML value.
gem install dorian-yaml-allAlso included in the aggregate gem:
gem install dorianyaml-all [file ...] "ruby code"Run yaml-all -h for generated option details and yaml-all -v for the installed version.
- Sets
itto the parsed YAML value converted to deep structs.
printf 'name: Dorian\n' | yaml-all "puts it.name"Output:
Dorian