Bash Oo Framework Versions Save

Bash Infinity is a modern standard library / framework / boilerplate for Bash

2.1

5 years ago

2.0

6 years ago

1.0.0

8 years ago

First stable release.

There's a great new way to include the framework in your scripts. If you don't mind a slightly slower startup of your script and know that an internet connection will be available at the time of execution, you can put this one-liner in front of your script to include the framework:

#!/usr/bin/env bash

source <(VERSION=1.0.0; URL="https://github.com/niieani/bash-oo-framework/releases/download/$VERSION/oo-framework.sh"; RETRIES=3; hash curl 2>/dev/null && curl -sL --retry $RETRIES "$URL" || wget -t $RETRIES -O - -o /dev/null "$URL" || echo "echo 'An error occured while downloading the framework.' && exit 1")

## your code ##