Forwarding you to

GitHub - niieani/bash-oo-framework: Bash Infinity is a modern boilerplate / framework / standard library for bash

Bash Infinity is a standard library and a boilerplate framework for writing tools using bash . It's modular and lightweight, while managing to implement some concepts from C#, Java or JavaScript into bash. The Infinity Framework is also plug & play: include it at the beginning of your existing script to import any of the individual features such as error handling, and start using other features gradually.