Table of Contents

CliSettings.Error Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets the standard error. Used for printing error information like parse errors.

Default is null which means Error, will be used. The underlying stream will be wrapped by a CLI writer in Error that provides styled terminal output (color and text decoration), using ANSI escape sequences when supported and console-native fallbacks otherwise.

For testing purposes, it can be set to a new instance of StringWriter. If you want to disable the output, please set it to Null.

public TextWriter Error { get; set; }

Property Value

TextWriter