CliSettings.Output Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Gets or sets the standard output. Used by Help and other facilities that write non-error information.
Default is null which means Out with encoding set to UTF8, will be used. The underlying stream will be wrapped by a CLI writer in Output and Output 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 Output { get; set; }