Templates to write better Bash scripts
Go to file
Kevin van Zonneveld 2d70a6c4ac Update README.md
Thanks @predominant
2013-02-27 00:12:10 +01:00
main.sh Small clarifications 2013-02-26 13:12:53 +01:00
README.md Update README.md 2013-02-27 00:12:10 +01:00

When hacking up BASH scripts, I often find there are some higherlevel things like logging, configuration, commandline argument parsing that:

  • I need everytime
  • Take quite some effort to get right
  • Keep you from your actual work

Here's an attempt to bundle those things in a generalized way so that they are reusable as-is in most of my (and hopefully your, if not ping me) programs.

An up to date intro is found on my blog.

Contributing

Feel free to fork this project. We will happily merge bug fixes or other small improvements. For bigger changes you should probably get in touch with us before you start to avoid not seeing them merged.

Versioning

BASH3 Boilerplate implements the Semantic Versioning guidelines.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org/.