public class MultiCommand extends Command
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,Command> |
subcommands |
description, parser| Constructor and Description |
|---|
MultiCommand(java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Terminal terminal,
joptsimple.OptionSet options)
Executes this command.
|
protected void |
printAdditionalHelp(Terminal terminal)
Prints additional help information, specific to the command
|
addShutdownHook, close, exit, mainprotected final java.util.Map<java.lang.String,Command> subcommands
protected void printAdditionalHelp(Terminal terminal)
CommandprintAdditionalHelp in class Commandprotected void execute(Terminal terminal, joptsimple.OptionSet options) throws java.lang.Exception
CommandUserException.