public class PromptCommand extends AbstractCommand
| Constructor and Description |
|---|
PromptCommand(ShellPrompts shellPrompts) |
| Modifier and Type | Method and Description |
|---|---|
ExitStatus |
run(java.lang.String... strings)
Run the command.
|
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelppublic PromptCommand(ShellPrompts shellPrompts)
public ExitStatus run(java.lang.String... strings) throws java.lang.Exception
Commandstrings - command arguments (this will not include the command itself)java.lang.Exception - if the command fails