org.springframework.boot.cli.command.shell

Class 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.
    Author:
    Jon Brisbin, Dave Syer, Phillip Webb
    • Method Detail

      • 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).