4

The CRaSH project that used by spring-boot can provides interactive shell for Spring.

And I found that spring-shell have similar features too.

So what is difference between them? Why not spring-boot just using spring-sehll?

Any comments or feedback will be appreciated.

Fabian Kreiser
  • 8,219
  • 1
  • 32
  • 60
bob
  • 957
  • 8
  • 16

1 Answers1

8

I think you misunderstood the purpose of the CRaSH integration in Boot. Boot provides an integration with CRaSH so that you can connect to a running application and query management or other information remotely. The boot integration also provides custom commands to be able to query the actuator endpoints that are available.

Spring Shell is also an interactive shell that can be easily extended with command but it does not serve the same purpose at all: CRaSH allows you to interact with the VM and the "application" on which it as been installed while spring shell allows you to build your own shell with your own command for a "command-line" app.

Stephane Nicoll
  • 27,654
  • 7
  • 72
  • 70