{"repo":"richbl/a-bash-template","free":true,"listed":false,"github":"https://github.com/richbl/a-bash-template","clone":"git clone https://github.com/richbl/a-bash-template.git","description":"A bash template (BaT) designed to make script development and command line argument management more robust, easier to implement, and easier to maintain","language":"Shell","stars":39,"topics":["bash","shell","script","bash-script","shell-script","template","json","dependency-checker","parsing","bash-template"],"license":"MIT","category":"cli-tools","readme_excerpt":"A-Bash-Template A-Bash-Template ( bash template.sh ) is a bash script that really does nothing at all: it's a template. But it does make scripting--particularly parameter passing--much easier, more organized, and more consistent. What's a Bash Template (BaT)? A-Bash-Template is designed to make script development and command line argument management more robust, easier to implement, and easier to maintain and update/upgrade. This BaT includes the following features: - Dependencies Checker : a routine that checks all external file and program dependencies ( e.g. this script relies on jq for JSON parsing, so its availability is checked immediately upon script execution) - Configuration Details in JSON : arguments and script details--such as script description and syntax--are stored in the JSON file format ( i.e. , config.json ) - JSON Wrapper Functions : JSON queries (using jq) handled through template wrapper functions - Automated Script Banner : a script banner function automates banner generation, reading directly from config.json - Automated Arguments Management : command line arguments are automatically parsed and tested for completeness using both short and long-format argument syntax ( e.g. -u --username ) - Support for [Optional] Arguments : optional command line arguments are permissible and managed through the JSON configuration file - Structured Modular Library : template functions organized into libraries (see the bash-lib project for specific library details) to mi","default_branch":null,"files":null,"tree":[],"storefront":"/r/richbl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/richbl/a-bash-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}