Sample Command line interpreter (CLI) demo app developed with Spring Shell library.
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!
- Clone the repository:
git clone git@github.com:dmadunic/clidemo.git
- Build project with:
./gradlew clean build
Now you can run it by executing the following command:
./run-cli.sh
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
- Domagoj Madunić
(c) AG04 Innovative Solutions d.o.o. (2022)