public class PromptCommand extends AbstractCommand
| Constructor and Description |
|---|
PromptCommand(ShellPrompts shellPrompts) |
| Modifier and Type | Method and Description |
|---|---|
ExitStatus |
run(String... strings)
Run the command.
|
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelppublic PromptCommand(ShellPrompts shellPrompts)
public ExitStatus run(String... strings) throws Exception
Commandstrings - command arguments (this will not include the command itself)Exception - if the command failsCopyright © 2016 Pivotal Software, Inc.. All rights reserved.