Uses of Class
picocli.CommandLine.Help
-
Packages that use CommandLine.Help Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality. -
-
Uses of CommandLine.Help in picocli
Methods in picocli that return CommandLine.Help Modifier and Type Method Description CommandLine.Help
CommandLine.Help. addAllSubcommands(Map<String,CommandLine> subcommands)
Registers all specified subcommands with this Help.CommandLine.Help
CommandLine.Help. addSubcommand(String commandName, Object command)
Deprecated.useaddAllSubcommands(Map)
insteadCommandLine.Help
CommandLine.IHelpFactory. create(CommandLine.Model.CommandSpec commandSpec, CommandLine.Help.ColorScheme colorScheme)
Returns aHelp
instance to assist in rendering the usage help messageCommandLine.Help
CommandLine. getHelp()
Returns a newHelp
object created by theIHelpFactory
with theCommandSpec
andColorScheme
of this command.Methods in picocli that return types with arguments of type CommandLine.Help Modifier and Type Method Description Map<String,CommandLine.Help>
CommandLine.Help. allSubcommands()
Returns the map of all subcommandHelp
instances (including hidden commands) for this command Help.Map<String,CommandLine.Help>
CommandLine.Help. subcommands()
Returns the map of non-hidden subcommandHelp
instances for this command Help.Methods in picocli with parameters of type CommandLine.Help Modifier and Type Method Description String
CommandLine.IHelpSectionRenderer. render(CommandLine.Help help)
Renders a section of the usage help, like header heading, header, synopsis heading, synopsis, description heading, description, etc.Method parameters in picocli with type arguments of type CommandLine.Help Modifier and Type Method Description String
CommandLine.Help. commandList(Map<String,CommandLine.Help> subcommands)
Returns a 2-column list with the command names and first line of their header or (if absent) description of the specified command map.
-