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