TomWright / dasel

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://daseldocs.tomwright.me
MIT License
7.19k stars 136 forks source link

Support ini files #50

Open ngirard opened 3 years ago

ngirard commented 3 years ago

It would be great if Dasel could handle .ini files.

Cheers!

TomWright commented 3 years ago

Hi @ngirard,

Thanks for your suggestion.

I'll look into this 🙂

ngirard commented 3 years ago

Great, thanks !

TomWright commented 3 years ago

The main ini parsing package I've found doesn't support the required format right now. I've raised a feature request: https://github.com/go-ini/ini/issues/275

There's potential for me to write my own ini parser but I'm going to wait and see what the response on that feature request is first.

c33s commented 1 year ago

any news on this?

c33s commented 1 year ago

don't know if that helps: https://github.com/gookit/config

TomWright commented 1 year ago

Yes it looks like that helps, thank you. I want to finish up the changes I'm making to the existing parsers and then I can add support for this