What's bash-base?
A common lib for creating bash script easily.
Latest Update
See CHANGELOG.md
How to use
Get from github
you can let YVM (Yarn Version Manager) manage it for you doing :
curl -fsSL https://raw.githubusercontent.com/tophat/yvm/master/scripts/install.sh | bash
yvm install
yvm use
Or you can install direct a yarn version using the command :
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
curl -o- https://raw.githubusercontent.com/zhang-hongjie/bash-base/v2.2.12/bash-base.sh | bash
Install from NPM
See npm repackage
npm install -g bash-base
Then you can find it in /usr/local/bin/bash-base
Install from docker
See docker hub
docker pull zhj2074/bash-base:latest
Or run directly
docker run -it zhj2074/bash-base:latest
Example
See example folder
Reference
See reference
Contributing
See How to contribute
License
MIT.