3 ms·
> Received wisdom about Write-Host, by the way, is that one rarely wants it. Yeah, totally got that. But how else you can generate colorized easy-to-read outpu
by vardump 7y ago
> Received wisdom about Write-Host, by the way, is that one rarely wants it.
Yeah, totally got that. But how else you can generate colorized easy-to-read output, where yellow warnings stand out?
There should be something like Write-Host that outputs colors to console stdout handle and silently drops color properties when writing to (anonymous) pipe stdout handle.
Color escape codes could be even better.