{"id":22446018,"url":"https://github.com/richbl/bash-lib","last_synced_at":"2025-08-01T20:31:31.633Z","repository":{"id":15754936,"uuid":"78710197","full_name":"richbl/bash-lib","owner":"richbl","description":"library of common bash routines used in a-bash-template (BaT) project","archived":false,"fork":false,"pushed_at":"2022-06-23T19:16:39.000Z","size":27,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-24T15:27:29.528Z","etag":null,"topics":["bash","bash-script","bash-template","lib","library","shell","shell-script","template"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richbl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-12T04:58:40.000Z","updated_at":"2022-06-04T01:23:55.000Z","dependencies_parsed_at":"2022-08-07T08:01:18.063Z","dependency_job_id":null,"html_url":"https://github.com/richbl/bash-lib","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richbl%2Fbash-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richbl%2Fbash-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richbl%2Fbash-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richbl%2Fbash-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richbl","download_url":"https://codeload.github.com/richbl/bash-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228402348,"owners_count":17914252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","bash-template","lib","library","shell","shell-script","template"],"created_at":"2024-12-06T03:18:03.785Z","updated_at":"2024-12-06T03:18:04.401Z","avatar_url":"https://github.com/richbl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash-Lib\n\n## [Developed for a Bash Template (BaT)](https://github.com/richbl/a-bash-template)[\u003cimg src=\"https://user-images.githubusercontent.com/10182110/145758715-b127adfc-710b-49d3-9ede-151adc83ae76.png\" width=\"150\" /\u003e](https://github.com/richbl/a-bash-template)\n\n**Bash-Lib** is a library of common [Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) shell routines used in projects based on the [A-Bash-Template (BaT)](https://github.com/richbl/a-bash-template) project. This library is broken into two files:\n\n- `general`\n  - Routines created to:\n    - Check program dependencies\n    - Check file dependencies\n    - From a JSON configuration file, dynamically format and display a program banner, e.g.\n\u003e\u003e\n    |\n    | A bash template (BaT) to ease argument parsing and management\n    |\n    | Usage:\n    |   bash_template.sh -a alpha -b bravo [-c charlie] -d delta\n    |\n    |   -a, --alpha    alpha (something descriptive)\n    |   -b, --bravo    bravo (something descriptive)\n    |   -c, --charlie  charlie (this is optional)\n    |   -d, --delta    delta (something descriptive)\n    |\n\n- `args`\n  - Routines created to:\n    - Parse a JSON file for program configuration details\n    - Scan command-line arguments for accuracy and completeness\n\nFor details on how the various routines of this library project are used, see the [A-Bash-Template (BaT)](https://github.com/richbl/a-bash-template#a-bash-template) project.\n\n\u003e Note that this project is managed as a Git [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) project specifically to keep projects that use this library up-to-date without manual intervention.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichbl%2Fbash-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichbl%2Fbash-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichbl%2Fbash-lib/lists"}