@Cli(name="help",
description="Display available commands or usage of a command",
note="Run \"help [command1] [command2] ...\" to display usage or certain command(s). Help without argument shows list of available commands")
public class HelpCommand
extends Command
| Constructor and Description |
|---|
HelpCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute command
|
void |
setArgNames(List<String> argNames) |
doSuggestArgument, doSuggestOption, getSession, isHelp, setHelp, setSession, suggestArgument, suggestOptionpublic void execute()
Command@MultiValue(listType=java.util.ArrayList.class) @Argument public final void setArgNames(List<String> argNames)
argNames - Array of argumentsCopyright © 2008–2020. All rights reserved.