- This project uses spring shell.
- This is a simple tool to generate a Spring Controller-Service-Repository project.
- You can use it to generate a project with a controller, service and repository for a given name.
- You can add to path of exacutable file in your .bashrc or .zshrc file to use it from anywhere.
- If your subdirectories do not have any named 'controller', 'service' or 'repository' directory, then create first by hand.
$ ./mvnw -Pnative native:compile -DskipTests=true
To create a controller :
$ ./target/spring-generator c date
To create a service :
$ ./target/spring-generator s date
To create a repository :
$ ./target/spring-generator r date