jborean93 / PSToml

PowerShell TOML Parser and Writer
MIT License
44 stars 6 forks source link

Change ConvertFrom-Toml pipe input behaviour #2

Closed jborean93 closed 1 year ago

jborean93 commented 1 year ago

Changes the piped input behaviour of ConvertFrom-Toml to build a final string to convert from the TOML string. This matches the behaviour of ConvertFrom-Json and makes it easier to do Get-Content $path | ConvertFrom-Toml.

Fixes: https://github.com/jborean93/PSToml/issues/1