dmadunic / clidemo

Sample SpringShell CLI demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • 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

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

And simply follow the instructions on the console

Changelog

Contributors

  • Domagoj Madunić

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

About

Sample SpringShell CLI demo

License:GNU General Public License v3.0


Languages

Language:Java 99.8%Language:Shell 0.2%