java-tutorials/spring-boot-modules/spring-boot-cli/bash/groovy.sh

17 lines
319 B
Bash
Raw Normal View History

#!/usr/bin/env bash
echo "Run Groovy Service or Script"
echo "spring run app.groovy"
spring run app.groovy
echo
echo "Watch Groovy Service or Script"
echo "spring run app.groovy --watch"
spring run app.groovy --watch
echo
echo "Spring Shell"
echo "spring shell"
spring shell
echo "now enter a spring command..."
echo