Class ShellCommand

java.lang.Object
org.springframework.boot.cli.command.AbstractCommand
org.springframework.boot.cli.command.shell.ShellCommand
All Implemented Interfaces:
Command

public class ShellCommand extends AbstractCommand
Command to start a nested REPL shell.
Since:
1.0.0
Author:
Phillip Webb
See Also:
  • Constructor Details

    • ShellCommand

      public ShellCommand()
  • Method Details

    • run

      public ExitStatus run(String... args) throws Exception
      Description copied from interface: Command
      Run the command.
      Parameters:
      args - command arguments (this will not include the command itself)
      Returns:
      the outcome of the command
      Throws:
      Exception - if the command fails