Class CommandHelpDetails
- Namespace
- Dassie.Extensions
- Assembly
- dc.dll
Represents the information displayed on a command's help page.
public class CommandHelpDetails
- Inheritance
-
CommandHelpDetails
- Inherited Members
- Extension Methods
Properties
CustomSections
A list of custom help sections.
public List<(string Heading, string Text)> CustomSections { get; set; }
Property Value
Description
A short description of the command. Most of the time, this is the same as Description.
public string Description { get; set; }
Property Value
Examples
A list of example invocations, along with their description.
public List<(string Command, string Description)> Examples { get; set; }
Property Value
Options
A list of options, along with their description.
public List<(string Option, string Description)> Options { get; set; }
Property Value
Remarks
Further, more detailed information regarding the command.
public string Remarks { get; set; }
Property Value
Usage
A list of usage strings for the command. Most of the time, this list has only a single entry that represents the command with all its flags and options.
public List<string> Usage { get; set; }