Table of Contents

CliWriter.SetStyle Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Applies the specified style (color and text decoration) to subsequent terminal output.

public CliWriter SetStyle(CliStyle style)

Parameters

style CliStyle

The style (color and text decoration).

Returns

CliWriter

The same instance so that multiple calls can be chained.