Spring Boot CLI
- Command line tool
- Spring prototype 생성
- for Groovy script
install
textsdk install springboot
# or
brew tap spring-io/tap
brew install spring-boot
Quick start
groovy@RestController
class ThisWillActuallyRun {
@RequestMapping("/")
String home() {
"Hello World!"
}
}
textspring run app.groovy
Project Initialize
textspring init --build=gradle --java-version=1.8 --dependencies=websocket --packaging=war sample-app.zip