Table of Contents

CliTheme.DefaultColor Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets the default color used by the app.

Default is null, which is equivalent to Gray on Windows and is equivalent to (ConsoleColor)-1 (unset/unknown) on Unix-like platforms.

public ConsoleColor? DefaultColor { get; init; }

Property Value

ConsoleColor?