public static interface CommandLine.Help.IOptionRenderer
Modifier and Type | Method and Description |
---|---|
CommandLine.Help.Ansi.Text[][] |
render(CommandLine.Model.OptionSpec option,
CommandLine.Help.IParamLabelRenderer parameterLabelRenderer,
CommandLine.Help.ColorScheme scheme)
Returns a text representation of the specified option and its parameter(s) if any.
|
CommandLine.Help.Ansi.Text[][] render(CommandLine.Model.OptionSpec option, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme)
option
- the command line option to show online usage help forparameterLabelRenderer
- responsible for rendering option parameters to textscheme
- color scheme for applying ansi color styles to options and option parameters