An hello world example. :)
This application uses the friends of bash libraries (https://github.com/bjoern-hempel/friends-of-bash). Check that the libraries are available:
user$ friends-of-bash --version
friends-of-bash/v0.0.31
If you can see a similar friends of bash version output like above, you can now install this application:
user$ sudo -E friends-of-bash install "git@github.com:bjoern-hempel/hello-world.git"
If you don't have installed the friends of bash libraries, please install them first. In short:
user$ cd ~ && git clone git@github.com:bjoern-hempel/friends-of-bash.git && cd friends-of-bash
user$ sudo -E bin/install
user$ cd .. && rm -rf friends-of-bash
user$ hello-world --version
hello-world/v1.0.3
or
user$ friends-of-bash version hello-world
hello-world/v1.0.3
user$ friends-of-bash update hello-world [-y]
user$ hello-world --help
Usage: /usr/local/bin/hello-world [options...]
-h, --help Shows this help.
-v, --version Shows the version number.
user$ hello-world
[2017-06-04 23:04:26] [HEADER‧] HELLO WORLD! :)
MIT © Björn Hempel
Have fun! :)