dasel icon indicating copy to clipboard operation
dasel copied to clipboard

Support ini files

Open ngirard opened this issue 4 years ago • 6 comments

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

Cheers!

ngirard avatar Nov 27 '20 16:11 ngirard

Hi @ngirard,

Thanks for your suggestion.

I'll look into this 🙂

TomWright avatar Nov 27 '20 18:11 TomWright

Great, thanks !

ngirard avatar Nov 27 '20 18:11 ngirard

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.

TomWright avatar Nov 27 '20 18:11 TomWright

any news on this?

c33s avatar Mar 31 '23 21:03 c33s

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

c33s avatar Mar 31 '23 22:03 c33s

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

TomWright avatar Apr 01 '23 21:04 TomWright