Class HelpExporterBase
- Namespace
- ZeroInstall.Commands.Basic.Exporters
- Assembly
- 0install.dll
Common base class for exporting all CliCommand help texts in a structured text format.
public abstract class HelpExporterBase
- Inheritance
-
HelpExporterBase
- Derived
- Inherited Members
Methods
CommandDetails(string?, string, string)
protected abstract string CommandDetails(string? name, string description, string usage)
Parameters
Returns
CommandListEntry(string?, string)
protected abstract string CommandListEntry(string? name, string description)
Parameters
Returns
CommandListFooter()
protected abstract string CommandListFooter()
Returns
CommandListHeader()
protected abstract string CommandListHeader()
Returns
OptionListEntry(IEnumerable<string>, string)
protected abstract string OptionListEntry(IEnumerable<string> prototypes, string description)
Parameters
prototypes
IEnumerable<string>description
string
Returns
OptionListFooter()
protected abstract string OptionListFooter()
Returns
OptionListHeader()
protected abstract string OptionListHeader()
Returns
ToString()
Returns all CliCommand help texts in a structured text format.
public override string ToString()