base
A simple framework for sharing Bash profiles, reusable shell libraries, and commands across hosts and teams. Contains builtin libraries for common functions like logging, error handling, and assertions. Built with SRE / DevOps teams in mind. (by codeforester)
bash-commons
A collection of reusable Bash functions for handling common tasks such as logging, assertions, string manipulation, and more (by gruntwork-io)
base | bash-commons | |
---|---|---|
2 | 3 | |
95 | 733 | |
- | 1.1% | |
0.0 | 2.1 | |
4 months ago | 8 days ago | |
Shell | Shell | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
base
Posts with mentions or reviews of base.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-27.
bash-commons
Posts with mentions or reviews of bash-commons.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-27.
- Bashkit V1
- BashLib a helpful source file for any script
-
How to structure library?
I think I phrased what I said poorly and unintentially communicated that I want to have all my code in one file. that' the opposite of what I'm wanting. To clarify, and I know this is splitting hairs but it illustrates my point. I think this log shell file is a good example of what I want to NOT do with my library. instead of having one file with 5 functions, I think it should be 5 files with no functions. that's to say the new file "log_info" would contain this text:
What are some alternatives?
When comparing base and bash-commons you can also consider the following projects:
bash-lib - Library of bash scripts
bashkit - Official bashkit repository
ebash - enhanced bash
basher - A package manager for shell scripts.
awesome-bash - A curated list of delightful Bash scripts and resources.
balls - Bash on Balls
bashful - A collection of modules to simplify writing bash scripts.
bash-oo-framework - Bash Infinity is a modern standard library / framework / boilerplate for Bash
bash3boilerplate - Templates to write better Bash scripts
bpkg - Lightweight bash package manager
repo-cmd - Small unified framework for git-ignored scripting