PSScriptAnalyzer
PSScriptAnalyzer copied to clipboard
Allow Invoke-Formatter to be pipable
Summary of the new feature
A clear and concise description of what the problem is that the new feature would solve.
Hi I have some powershell code in a variable, it would be usefull if I could run $code | Invoke-Formatter, this does not seem to work instead I have to run Invoke-Formatter $code.
What is the latest version of PSScriptAnalyzer at the point of writing I am using 1.20.0 of PSScriptAnalyzer on Windows 10 using pwsh 7.1