Spring Boot CLI Tutorial
- Discuss Spring Boot CLISpring Boot CLI is a command line tool, which is used for a quick start with Spring. It allows running Groovy scripts. Groovy scripts are similar to Java code without any boilerplate code. Spring CLI helps to bootstrap a new project or write custom command for it.
- Spring Boot CLI - Quick GuideThe 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-
- Spring Boot CLI - Using ShellSpring Boot CLI provides a Shell interface to run the commands in which we can directly run the commands as shown below. Go to E:\Test folder and type the following command.
- Spring Boot CLI - Useful ResourcesThe following resources contain additional information on Spring Boot CLI. Please use them to get more in-depth knowledge on this topic.
- Spring Boot CLI - Creating ProjectSpring Boot CLI can be used to create a new project with maven as default build tool using init command. Maven will use https://start.spring.io service. In the following example, we will create a web application using thymeleaf. Go to E:\Test folder and type the following command ?
- Spring Boot CLI - Packaging ApplicationSpring boot CLI provides jar command in order to package a application as jar file. Let's test the sample project created in Starter Thymeleaf Project Chapter to demonstrate the packaging capabilities of Spring CLI. Follow the below mentioned step to package the sample project.
Page 1 / 4Next