clidemo
clidemo copied to clipboard
Sample SpringShell CLI demo
SpringShell CLI Demo
Sample Command line interpreter (CLI) demo app developed with Spring Shell library.

How to use this repository?
Master branch contains current/final state of the the CLI demo, while particular branches, for example part1 contain code relevant for specific part of the tutorial (ie. Part 1).
Happy coding!
Setup (First time)
- Clone the repository:
git clone [email protected]:dmadunic/clidemo.git - Build project with:
./gradlew clean build
Now you can run it by executing the following command:
./run-cli.sh
(Manual) Release new version
Make sure that file gradle.properties in the folder ${USER_HOME}/.gradle/ contains the following two variables defined:
- github_username
- github_password : personal github token (PAT) to be used to install/update packages
For more on creating personal github token (PAT) see this link
- Commit and push everything
./gradlew release
And simply follow the instructions on the console
Changelog
Contributors
- Domagoj Madunić
(c) AG04 Innovative Solutions d.o.o. (2022)