Utilities/helpers to develop shell scripts.
basher install protetore/shblocks
git submodule add https://github.com/protetore/shblocks
To update shblocks to the latest version you can run:
git pull --recurse-submodules
You can commit the submodule to you repository by doing:
git add .gitmodules shblocks/
git commit -m "building blocks"
If you added shblocks to your repo wand want a clean checkout, you can tell git to also checkout submodules:
git clone --recursive your/project/url
mkdir -p shblocks/ && wget https://github.com/protetore/shblocks/archive/master.tar.gz -O - | tar -xz --strip-components=1 -C shblocks/
import protetore/shblocks output/logger.sh
logger::title "My APP"
If you cloned as a subproject or downloaded to your project:
source <PATH>/<TO>/shblocks/output/logger.sh
logger::title "My APP"