A minimal Bash framework and CLI tool that makes writing, sharing and using bash scripts easy
- Features
- Installation
- Documentation
- Showcase of modules using
msu - Project principles
- License
- Introductory blog posts:
msuwishlist
- easy installation
- self upgrade
- small internal library
- tested
- supports external modules
- auto-loading aliases from modules
- manpages
- load/unload aliases
- error catching/handling
- bash completion
- compatibility for other shell types e.g. zsh
There are different ways of installing msu.
-
The preferred way is to use the OFFICIAL RELEASE. Download the latest tarball at https://github.com/GochoMugo/msu/releases/latest:
$ tar xvf msu-x.x.x.tar.gz $ cd msu-x.x.x/ $ ./install.sh -
Manual installing by cloning this repo and running the
install.shscript.$ git clone https://github.com/GochoMugo/msu.git $ cd msu/ $ ./install.shThis method is preferable if you will be contributing to the project. Note that this uses the master branch, possibly with unreleased changes. Also, the manpages are not installed.
See further installation instructions.
You can browse msu documentation from your terminal using man:
$ man 1 msu # command
$ man 3 msu # libraryA guide for contributing to msu is also available.
- Little added complexity.
msushould not warrant the user to learn scripting all over again. An existing script should be converted into a module with less effort. - Minimal.
msucore should be as little as possible. How? Use common algorithms and data structures. Avoid doing something too fancy. - Highly configurable. Using environment variables and command-line switches,
msushould be configurable in all its operations, including installation.
The MIT License (MIT)
Copyright © 2015 GochoMugo mugo@forfuture.co.ke