Spring Boot CLI - Overview


The Spring Boot CLI is a Command Line Interface for Spring Boot. It can be used to have a quick start with Spring. It can run Groovy scripts which means that developer need not to write much boilerplate code and only need to focus of business logic. Spring Boot CLI is the fastest way to create a Spring based application.


Following are the features of Spring Boot CLI −

  • It provides an interface to run and test Spring Boot Application from command prompt.

  • It internally use Spring Boot Starter and Spring Boot AutoConfigurate components in order to resolve all dependencies and executes the application.

  • It contains Groovy compiler and Grape Dependency Manager.

  • It supports Groovy Scripts without external Groovy installation.

  • It adds Spring Boot defaults and resolve all dependencies automatically.