https://github.com/codeforester/bashlib
Reusable, testable Bash libraries for automation and scripting. Especially useful for SRE and DevOps engineers who write a lot of Bash code.
https://github.com/codeforester/bashlib
Last synced: 10 days ago
JSON representation
Reusable, testable Bash libraries for automation and scripting. Especially useful for SRE and DevOps engineers who write a lot of Bash code.
- Host: GitHub
- URL: https://github.com/codeforester/bashlib
- Owner: codeforester
- License: mit
- Created: 2025-08-01T23:36:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T00:23:00.000Z (11 months ago)
- Last Synced: 2025-08-02T02:30:46.514Z (11 months ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bashlib
> Reusable, tested, and standards-compliant Bash libraries for Linux/macOS automation.
## 📁 Directory Structure
bashlib/
├── lib/ # Bash libraries (e.g. lib_std.sh)
├── tests/ # BATS test suites for all libraries
├── examples/ # Sample scripts using the libraries
├── STANDARDS.md # Coding and design guidelines
└── README.md # This file
---
## 🔧 Requirements
To use or contribute to this project, you'll need:
- **Bash 4.0+**
macOS users may need to install a newer version via Homebrew:
`brew install bash`
- **bats-core** — for test execution
https://github.com/bats-core/bats-core
- **git** — for managing the repository and test dependencies
---
## 🚀 Quick Start
1. Clone the repository:
```bash
git clone https://github.com//bashlib.git
cd bashlib
## 📚 References
- **BashFAQ**
https://mywiki.wooledge.org/BashFAQ