Open iCodeSometime opened 5 years ago
Fair point.
I will make a new major release renaming to Import-
and Export-
adding ConvertTo-
and ConvertFrom-
Thanks @lipkau!
I take that to mean you're uninterested in a PR for this?
Well... I do want to change quite a bit in the tests and CI pipeline. I can push my current status to a branch, and if you are interested in help, it will be very welcome
Yeah, I'll take a look and see what I can do.
I really appreciate your enthusiasm about this proposal, it'll significantly increase the usefulness of this project for me.
This library would be much more useful to me if we were to separate the concept of converting to/from ini format from reading/writing files - since really these are separate things.
I propose that we create the functions
ConvertTo-Ini
andConvertFrom-Ini
, which would match the existing powershell api for JSON, Csv, etc.Out-IniFile
andGet-IniContent
should then be rewritten to use these new functions.Pros:
Cons:
I need this ability for my project and am working on this. I'm happy to consider any feedback and send a PR if you agree this would be useful