You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wanting to use Spectre.Console along with System.CommandLine, so I'm creating an adapter, but implementing IStandardStreamWriter Error is not really possible since Spectre doesn't directly support stderr without creating another instance of AnsiConsole.
Also, as mentioned here, stderr should really be used when outputting errors.
Would it be possible to add support for stderr within a single AnsiConsole instance, so that you could use, for example, ansiConsole.Error.Write(table), etc.?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm wanting to use Spectre.Console along with System.CommandLine, so I'm creating an adapter, but implementing
IStandardStreamWriter Error
is not really possible since Spectre doesn't directly support stderr without creating another instance ofAnsiConsole
.Also, as mentioned here, stderr should really be used when outputting errors.
Would it be possible to add support for stderr within a single
AnsiConsole
instance, so that you could use, for example,ansiConsole.Error.Write(table)
, etc.?Beta Was this translation helpful? Give feedback.
All reactions