Repository navigation
·
6 commits
to main
since this release
Bash Helpers Library release-0.0.2
A collection of reusable Bash modules for robust script development.
What's Included
- lifecycle.sh - Complete script lifecycle management with single-instance enforcement and automatic cleanup
- log.sh - Enhanced logging system with multi-level output and file logging
Installation
# Download and extract
wget https://github.com/khmarochos/bash-helpers/releases/download/release-0.0.2/bash-helpers-release-0.0.2.tar.gz
tar -xzf bash-helpers-release-0.0.2.tar.gz
cd bash-helpers-release-0.0.2
# Install
./install.shQuick Start
# In your script
LIB_DIR="${HOME}/.local/lib/bash-helpers"
source "${LIB_DIR}/lifecycle.sh"
ensure_single_instance
log "Hello, World!"Files
bash-helpers-release-0.0.2.tar.gz- Main packagebash-helpers-release-0.0.2.tar.gz.sha256- Checksum for verification
Verification
sha256sum -c bash-helpers-release-0.0.2.tar.gz.sha256