Skip to content

nicholaswilde/libbash

Repository files navigation

🚀 libbash 🤖

ci tests task

A collection of common bash libraries


🚀  TL;DR

💾  Installation

From within a git repo.

git submodule add https://github.com/nicholaswilde/libbash

From outside a git repo.

git clone https://github.com/nicholaswilde/libbash.git

⚙️  Usage

#!/usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# shellcheck source=/dev/null
source "${DIR}/libbash/init"
source "${LIBBASH_DIR}/str"

lb_to_upper_all "foo"

⬆️  Update

From the base dir with libbash submodule installed.

git submodule update --init --recursive --remote

📖  Documentation

Documentation can be found here.


💡  Inspiration

Inspiration for this repository has been taken from cyberark/bash-lib and dylanaraps/pure-bash-bible.


⚖️  License

Apache License 2.0


📝  Author

This project was started in 2022 by Nicholas Wilde.