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, getUsageHelp
public PromptCommand(ShellPrompts shellPrompts)
public ExitStatus run(java.lang.String... strings) throws java.lang.Exception
Command
strings
- command arguments (this will not include the command itself)java.lang.Exception
- if the command fails