dahlbyk / posh-git

A PowerShell environment for Git
http://dahlbyk.github.io/posh-git/
MIT License
7.62k stars 802 forks source link

Request: Add -NoANSI option to all Write-commands #953

Open DennisL68 opened 1 year ago

DennisL68 commented 1 year ago

System Details

Issue Description

All output from the Write-commands contains colored ANSI-output. If I need to apply logic comparison or pipe the text to a command that can't handle ANSI, the result will be messed up because of the included ANSI escape sequences.

If adding a switch like -NoANSI, the usage of the Write commands should provide plain text output. It would be that more useful.