Uses of Class
picocli.CommandLine.Help.Layout
-
Packages that use CommandLine.Help.Layout Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality. -
-
Uses of CommandLine.Help.Layout in picocli
Methods in picocli that return CommandLine.Help.Layout Modifier and Type Method Description CommandLine.Help.Layout
CommandLine.Help. createDefaultLayout()
Returns aLayout
instance configured with the user preferences captured in this Help instance.CommandLine.Help.Layout
CommandLine.Help. createDefaultLayout(List<CommandLine.Model.OptionSpec> options, List<CommandLine.Model.PositionalParamSpec> positionals, CommandLine.Help.ColorScheme aColorScheme)
Returns aLayout
instance configured with the user preferences captured in this Help instance.Methods in picocli with parameters of type CommandLine.Help.Layout Modifier and Type Method Description String
CommandLine.Help. optionList(CommandLine.Help.Layout layout, Comparator<CommandLine.Model.OptionSpec> optionSort, CommandLine.Help.IParamLabelRenderer valueLabelRenderer)
Sorts allOptions
with the specifiedcomparator
(if the comparator is non-null
), then adds all non-hidden options to the specified TextTable and returns the result of TextTable.toString().String
CommandLine.Help. optionListExcludingGroups(List<CommandLine.Model.OptionSpec> optionList, CommandLine.Help.Layout layout, Comparator<CommandLine.Model.OptionSpec> optionSort, CommandLine.Help.IParamLabelRenderer valueLabelRenderer)
Sorts allOptions
with the specifiedcomparator
(if the comparator is non-null
), then adds the specified options to the specified TextTable and returns the result of TextTable.toString().String
CommandLine.Help. parameterList(List<CommandLine.Model.PositionalParamSpec> positionalParams, CommandLine.Help.Layout layout, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)
Returns the rendered section of the usage help message that lists the specified parameters with their descriptions.String
CommandLine.Help. parameterList(CommandLine.Help.Layout layout, CommandLine.Help.IParamLabelRenderer paramLabelRenderer)
Returns the rendered section of the usage help message that lists all positional parameters in this command with their descriptions.
-