Table of Contents

Enum CliColorMode

Namespace
ItTiger.TigerCli.Enums
Assembly
ItTiger.TigerCli.dll
Controls how TigerCli's default console output paths emit colour. Selected globally via ColorMode or per app/run via the --color framework option. Only the default (non-TUI) output paths honour this; the full-interactive TUI continues to use the legacy console sink regardless.
public enum CliColorMode

Fields

Ansi256 = 3
Force AnsiSink (faithful 256-colour ANSI), even when the stream is redirected. Explicit opt-in.
Auto = 0
Detect terminal capability. Upgrades to AnsiSink (faithful 256-colour) only when ANSI 256 is safely supported for the target stream; otherwise falls back to the current ConsoleSink behaviour. Never emits ANSI to a redirected/captured stream.
Never = 1
No styling: plain text only, with no colour escape sequences or console colour changes.
Standard16 = 2
Force the current ConsoleSink / ConsoleErrorSink behaviour (16 colours; 16–255 degraded).