Live data from Hacker News

Dasel: Query/update data structs from the cmdline. Supports JSON,YAML,TOML,XML

github.com

1–7 of 7 posts

Re: Dasel: Query/update data structs from the cmdline. Supports JSON,YAML,TOML,XML

#2
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. Supports JSON,YAML,TOML,XML

#3

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

Only if it would support EDN (https://github.com/edn-format/edn) too... :) Although I was satisfied with Jet (https://github.com/borkdude/jet) so far.

Re: Dasel: Query/update data structs from the cmdline. Supports JSON,YAML,TOML,XML

#6

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

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.