Spring Boot CLI - Overview

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


In this section, we will look at the different features of Spring Boot CL −

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