public static interface CommandLine.Help.IParameterRenderer
IParameterRenderer
can be used to create textual representation of a Parameters field in a tabular format: one or more rows,
each containing one or more columns. The Layout
is responsible for placing these text
values in the TextTable
.Modifier and Type | Method and Description |
---|---|
CommandLine.Help.Ansi.Text[][] |
render(CommandLine.Model.PositionalParamSpec param,
CommandLine.Help.IParamLabelRenderer parameterLabelRenderer,
CommandLine.Help.ColorScheme scheme)
Returns a text representation of the specified positional parameter.
|
CommandLine.Help.Ansi.Text[][] render(CommandLine.Model.PositionalParamSpec param, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme)
param
- the positional parameter to show online usage help forparameterLabelRenderer
- responsible for rendering parameter labels to textscheme
- color scheme for applying ansi color styles to positional parameters