java.lang.Object
org.springframework.boot.cli.command.shell.Shell

public class Shell extends Object
A shell for Spring Boot. Drops the user into an event loop (REPL) where command line completion and history are available without relying on OS shell features.
Since:
1.0.0
Author:
Jon Brisbin, Dave Syer, Phillip Webb
  • Method Details

    • run

      public void run() throws Exception
      Run the shell until the user exists.
      Throws:
      Exception - on error
    • handleSigInt

      protected void handleSigInt()
      Final handle an interrupt signal (CTRL-C).