WhatsInit is a small command-line tool that allows you to list spring dependencies and automatically copies the desired dependency or dependencies to your clipboard at once.
# Clone this repository
$ git clone https://github.com/TolunayM/whatsinit
# Open project folder and package with maven
mvn clean install -DskipTests=true
You can find your jar file under the target folder
After packaging you should put db file to your C drive's root folder.
You can change this location from application.properties file
spring.datasource.url=jdbc:h2:zip:C:/db.zip!/db
Change only database location keep datanase name and zip! command like below
spring.datasource.url=jdbc:h2:zip:{path}/db.zip!/db
For using mac or linux you can build native application with graalvm
Check this
Graavlm Native Build
Once you set everything right you can just start a new terminal and use command
java -jar WhatsInit.jar
After that you can use help command for listing available commands.
You can use the copy command with as many arguments as you want.
Spring Shell Framework
H2 Database
GNU
Currently whatsinit has a bug with new windows terminal application. Use with legacy cmd or powershell.