On Tue, May 21, 2024 at 06:13:21PM +0200, Andrej Shadura wrote: > In fact, having checked the source code, it’s one way only, and after > all it’s also someone else’s quick hack. Maybe someone should write > a robust tool to support all formats and directions and package *that* > for Debian? :)
I think dasel might be what you want :^) Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package. https://github.com/tomwright/dasel https://tracker.debian.org/pkg/dasel --puida