HelpBuilder.CustomizeSymbol Method
Definition
- Namespace
- DotMake.CommandLine.Help
- Assembly
- DotMake.CommandLine.dll
CustomizeSymbol(Symbol, Func<HelpContext, string?>?, Func<HelpContext, string?>?, Func<HelpContext, string?>?)
Specifies custom help details for a specific symbol.
public void CustomizeSymbol(Symbol symbol, Func<HelpContext, string?>? firstColumnText = null, Func<HelpContext, string?>? secondColumnText = null, Func<HelpContext, string?>? defaultValue = null)
Parameters
symbolSymbolThe symbol to specify custom help details for.
firstColumnTextFunc<HelpContext, string>A delegate to display the first help column (typically name and usage information).
secondColumnTextFunc<HelpContext, string>A delegate to display second help column (typically the description).
defaultValueFunc<HelpContext, string>A delegate to display the default value for the symbol.
CustomizeSymbol(Symbol, string?, string?, string?)
Specifies custom help details for a specific symbol.
public void CustomizeSymbol(Symbol symbol, string? firstColumnText = null, string? secondColumnText = null, string? defaultValue = null)
Parameters
symbolSymbolThe symbol to customize the help details for.
firstColumnTextstringA delegate to display the first help column (typically name and usage information).
secondColumnTextstringA delegate to display second help column (typically the description).
defaultValuestringThe displayed default value for the symbol.