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(String... args)
Run the command.
|
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelppublic HintCommand(CommandRunner commandRunner)
public ExitStatus run(String... args) throws Exception
Commandargs - command arguments (this will not include the command itself)Exception - if the command failsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.