Skip to content

Reusable, testable Bash libraries for automation and scripting. Especially useful for SRE and DevOps engineers who write a lot of Bash code.

License

Notifications You must be signed in to change notification settings

codeforester/bashlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

    git clone https://github.com/<your-username>/bashlib.git
    cd bashlib
    

πŸ“š References

About

Reusable, testable Bash libraries for automation and scripting. Especially useful for SRE and DevOps engineers who write a lot of Bash code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages