Skip to content

Commit 8f792a3

Browse files
committed
TODOs
1 parent 5853f30 commit 8f792a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/apput/src/Reporters/BaseReporter.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
namespace ApplicationUtility;
88

9+
// TODO: generate Markdown
10+
// TODO: detect whether we can output colors
911
abstract class BaseReporter : IReporter
1012
{
1113
protected enum Countable
@@ -30,6 +32,8 @@ protected enum Countable
3032
protected abstract string AspectName { get; }
3133
protected abstract string ShortDescription { get; }
3234

35+
protected static readonly bool CanUseColor = !Console.IsOutputRedirected;
36+
3337
public void Report ()
3438
{
3539
WriteLine (BannerColor, $"# {AspectName} ({ShortDescription})");

0 commit comments

Comments
 (0)