dmadunic / clidemo

Sample SpringShell CLI demo
GNU General Public License v3.0
44 stars 18 forks source link

SpringShell CLI Demo

License: GPL v3

Sample Command line interpreter (CLI) demo app developed with Spring Shell library.

Banner

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)

  1. Clone the repository: git clone git@github.com:dmadunic/clidemo.git
  2. 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:

For more on creating personal github token (PAT) see this link

1) Commit and push everything 2) ./gradlew release

And simply follow the instructions on the console

Changelog

Contributors

(c) AG04 Innovative Solutions d.o.o. (2022)