Open StartAutomating opened 1 year ago
I see no issue with adding such cmdlets, I probably won't do the work myself but I can certain review a PR that does have them. In saying that I would expect to see
-Path
and -LiteralPath
like most filesystem providers have-Encoding
option that defaults to UTF8 no BOMHello StartAutomating
you can use create a function :
get-content ImportFile.toml | ConvertFrom-Toml | ConvertTo-Toml -Depth 10 | add-content ExportFile.toml
@jborean93 Cool module!
I'd love to see an Import/Export-TOML
The primary reason for this is pure user annoyance (how many times have you wished for an Export-JSON?).
The secondary reason is being able to use this in commands that support auto-detected export
e.g.
I'm happy to help out with implementation if you'd like, just let me know.