Download Latest Version 2.1.zip (366.6 kB)
Email in envelope

Get an email when there's a new version of Bash Infinity

Home / 1.0.0
Name Modified Size InfoDownloads / Week
Parent folder
oo-framework.sh 2015-12-06 29.0 kB
1.0 release.tar.gz 2015-12-06 322.9 kB
1.0 release.zip 2015-12-06 340.9 kB
README.md 2015-12-06 688 Bytes
Totals: 4 Items   693.4 kB 0

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:

:::bash
#!/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 ##
Source: README.md, updated 2015-12-06