Re:Dasel: Query/update data structs from the cmdline. Suppor...
by Novalty93 on Friday October 30, 2020 @10:40AM
(#24942688)
I've been working on a tool to query/update data structures from the commandline. It's comparable to jq/yq but supports JSON, YAML, TOML and XML. I'm not aware of anything that attempted to do this so I rolled my own. Let me know what you think
Re:Dasel: Query/update data structs from the cmdline. Suppor...
by hyperman1 on Friday October 30, 2020 @02:01PM
(#24945071)
This seems very handy, thank you very much.
It would be great if it could support perfect roundtripping: Comments, ordering, whitespace,... are not touched. It would make fearless updating of config files a breeze.
This I understand would be a huge undertaking, requiring writing your own parsers.
Not that I want to be ungratefull. This looks a very usefull tool as is.
Re:Dasel: Query/update data structs from the cmdline. Suppor...
by jph on Friday October 30, 2020 @01:58PM
(#24945030)
Great work! I can totally see the usefulness of this. And your examples of `dasel` side-by-side with `jq` and `yq` are very much appreciated because you're making it easy to learn.
It would be great if it could support perfect roundtripping: Comments, ordering, whitespace,... are not touched. It would make fearless updating of config files a breeze.
This I understand would be a huge undertaking, requiring writing your own parsers.
Not that I want to be ungratefull. This looks a very usefull tool as is.