public class HintCommand extends AbstractCommand
Command to provide hints for shell auto-completion. Expects to be
called with the current index followed by a list of arguments already typed.| Constructor and Description |
|---|
HintCommand(CommandRunner commandRunner) |
| Modifier and Type | Method and Description |
|---|---|
ExitStatus |
run(java.lang.String... args)
Run the command.
|
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelppublic HintCommand(CommandRunner commandRunner)
public ExitStatus run(java.lang.String... args) throws java.lang.Exception
Commandargs - command arguments (this will not include the command itself)java.lang.Exception - if the command fails