Package picocli
Class CommandLine.DefaultHelpFactory
java.lang.Object
picocli.CommandLine.DefaultHelpFactory
- All Implemented Interfaces:
CommandLine.IHelpFactory
- Enclosing class:
CommandLine
private static class CommandLine.DefaultHelpFactory
extends Object
implements CommandLine.IHelpFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CommandLine.Model.CommandSpec commandSpec, CommandLine.Help.ColorScheme colorScheme) Returns aHelpinstance to assist in rendering the usage help message
-
Constructor Details
-
DefaultHelpFactory
private DefaultHelpFactory()
-
-
Method Details
-
create
public CommandLine.Help create(CommandLine.Model.CommandSpec commandSpec, CommandLine.Help.ColorScheme colorScheme) Description copied from interface:CommandLine.IHelpFactoryReturns aHelpinstance to assist in rendering the usage help message- Specified by:
createin interfaceCommandLine.IHelpFactory- Parameters:
commandSpec- the command to create usage help forcolorScheme- the color scheme to use when rendering usage help- Returns:
- a
Helpinstance
-