Class CommandLine.Help.Layout

java.lang.Object
nz.org.riskscape.picocli.CommandLine.Help.Layout
Enclosing class:
CommandLine.Help

public static class CommandLine.Help.Layout extends Object
Use a Layout to format usage help text for options and parameters in tabular format.

Delegates to the renderers to create CommandLine.Help.Ansi.Text values for the annotated fields, and uses a CommandLine.Help.TextTable to display these values in tabular format. Layout is responsible for deciding which values to display where in the table. By default, Layout shows one option or parameter per table row.

Customize by overriding the layout(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi.Text[][]) method.

See Also: