Table of Contents

Class ConsoleAppInfo

Namespace
Ploch.CommandLine.Spectre
Assembly
Ploch.CommandLine.Spectre.dll

Represents information about a console application, including its name, description, version, and display settings.

public class ConsoleAppInfo : AppInfo
Inheritance
AppInfo
ConsoleAppInfo
Inherited Members
AppInfo.Name
AppInfo.Description
AppInfo.Version
AppInfo.Args
Extension Methods

Constructors

ConsoleAppInfo(params IEnumerable<string>?)

Represents information about a console application, including its name, description, version, and display settings.

Properties

AppDescriptionColor

Gets or sets the color used for displaying the application description. The default is LightSlateGrey.

AppNameColor

Gets or sets the color used for displaying the application name in FigletText. Default is Chartreuse2.

AppNameInfoColor

Gets or sets the color used for displaying the application name and version information. Default is Wheat1.

ShouldShowBanner

Gets or sets a value indicating whether the library writes its own lines to standard error: the start-up banner — the name as FigletText, the name and version line and the description — when the application is built, and the "Executing command" line before each command. Default is true.