Class OptionSetHelp
A block that renders help for a set of options grouped by category.
public sealed class OptionSetHelp : Block
- Inheritance
-
OptionSetHelp
- Inherited Members
Constructors
OptionSetHelp(IReadOnlyList<Option>, OptionPrinter)
Creates help markup for a set of command-line options grouped by category.
public OptionSetHelp(IReadOnlyList<Option> options, OptionPrinter printer)
Parameters
optionsIReadOnlyList<Option>The options to document.
printerOptionPrinterThe option printer to use.
Properties
Options
Gets the options being documented.
public IReadOnlyList<Option> Options { get; }
Property Value
Printer
Gets the option printer used to render option names and arguments.
public OptionPrinter Printer { get; }
Property Value
Methods
Lower()
Lowers this option set help block to simpler markup.
public override Block Lower()
Returns
- Block
The lowered block markup.