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 java.lang.Object implements CommandLine.IHelpFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DefaultHelpFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLine.Help
create(CommandLine.Model.CommandSpec commandSpec, CommandLine.Help.ColorScheme colorScheme)
Returns aHelp
instance to assist in rendering the usage help message
-
-
-
Method Detail
-
create
public CommandLine.Help create(CommandLine.Model.CommandSpec commandSpec, CommandLine.Help.ColorScheme colorScheme)
Description copied from interface:CommandLine.IHelpFactory
Returns aHelp
instance to assist in rendering the usage help message- Specified by:
create
in interfaceCommandLine.IHelpFactory
- Parameters:
commandSpec
- the command to create usage help forcolorScheme
- the color scheme to use when rendering usage help- Returns:
- a
Help
instance
-
-