InterviewSolution
Saved Bookmarks
| 1. |
What is Spring Boot CLI? Can you list out its advantages? |
|
Answer» Spring Boot CLI is a command-line ABSTRACTION that allows us to easily run Spring microservices expressed as GROOVY SCRIPTS. It also provides simplified and enhanced dependency management for those services. Spring Boot CLI provides a feature called Shell from where you can execute commands. To start an embedded shell, run the following command: spring shell Now, if you want to run a groovy script called app.groovy then you can run it using the command : run app.groovy Or if you WOULD like to know the spring version, the command is : version Advantages of using Spring Boot CLI :
|
|