Modifier and Type | Method | Description |
---|---|---|
CommandLine.Help |
CommandLine.Help.addAllSubcommands(Map<String,CommandLine> commands) |
Registers all specified subcommands with this Help.
|
CommandLine.Help |
CommandLine.Help.addSubcommand(String commandName,
Object command) |
Deprecated.
|
CommandLine.Help |
CommandLine.IHelpFactory.create(CommandLine.Model.CommandSpec commandSpec,
CommandLine.Help.ColorScheme colorScheme) |
Returns a
Help instance to assist in rendering the usage help message |
Modifier and Type | Method | Description |
---|---|---|
protected Map<String,CommandLine.Help> |
CommandLine.Help.subcommands() |
Returns the map of subcommand
Help instances for this command 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.
|
Copyright © 2017–2019. All rights reserved.