dotnet / command-line-api

Command line parsing, invocation, and rendering of terminal output.
https://github.com/dotnet/command-line-api/wiki
MIT License
3.35k stars 375 forks source link

Replace ConsoleHack with a reasonable approach #2384

Open KathleenDollard opened 2 months ago

KathleenDollard commented 2 months ago

ConsoleHack was a temporary approach to get runnable tests. We need to replace this with a TextWriter, wrapped TextWriter or similar.

The solution should leave the door open for extension, such as that described in #2378, but we plan to wait further implementation of #2378 until later in the Powderhouse effort.