Table of Contents

CliDecoration Enum

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Represents text decoration.

[Flags]
public enum CliDecoration

Fields

Name Value Description
None 0

No text decoration.

Bold 1

Bold text. Not supported in every environment.

Dim 2

Dim or faint text. Not supported in every environment.

Italic 4

Italic text. Not supported in every environment.

Underline 8

Underlined text. Not supported in every environment.

Invert 16

Swaps the foreground and background colors. Not supported in every environment.

Conceal 32

Hides the text. Not supported in every environment.

Strikethrough 256

Shows text with a horizontal line through the center. Not supported in every environment.

Remarks

Support for text decorations is up to the terminal.