clux/lq

allow handling toml input

Closed this issue · 1 comments

clux commented

would like to also be able to do the same type of thing on toml documents as input (currently we support serializing as toml output).

currently we only support yaml input and we have a special case loop through multidoc items and collect them up.
if we allow an extra input parameter -i=toml (where -i=yaml is default) we could basically let people have arbitrary query utils that go through jq via:

alias tq="yq -itoml"

of course we could bundle multiple binaries, but that's a waste of space when it could be shortcutted at will by people who care.

clux commented

done in #8 and released in 0.5.0 actually pretty simple