CliWriter.Write Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Write(CliStyle, string)
Writes a string with the specified style (color and text decoration), to the terminal.
public CliWriter Write(CliStyle style, string value)
Parameters
Returns
- CliWriter
The same instance so that multiple calls can be chained.
Write(CliStyle, string, params object[])
Writes a formatted string with the specified style (color and text decoration), to the terminal.
public CliWriter Write(CliStyle style, string format, params object[] arg)
Parameters
styleCliStyleThe style (color and text decoration).
formatstringA composite format string.
argobject[]An object array that contains zero or more objects to format and write.
Returns
- CliWriter
The same instance so that multiple calls can be chained.