public class ShellCommand extends AbstractCommand
Command
to start a nested REPL shell.Shell
Constructor and Description |
---|
ShellCommand() |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
run(String... args)
Run the command.
|
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelp
public ExitStatus run(String... args) throws Exception
Command
args
- command arguments (this will not include the command itself)Exception
- if the command failsCopyright © 2021 Pivotal Software, Inc.. All rights reserved.