{"id":13514665,"url":"https://github.com/bash-bastion/bash-args","last_synced_at":"2025-07-24T16:38:52.733Z","repository":{"id":108431995,"uuid":"367420783","full_name":"bash-bastion/bash-args","owner":"bash-bastion","description":"A cute little Bash library for blazing fast argument parsing","archived":false,"fork":false,"pushed_at":"2022-09-06T02:00:25.000Z","size":2938,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-07T10:03:18.296Z","etag":null,"topics":["basalt","bash","cli","command-line","command-line-parser","options-parsing","shell"],"latest_commit_sha":null,"homepage":"https://hyperupcall.github.io/bash-args","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bash-bastion.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-05-14T16:28:55.000Z","updated_at":"2024-03-06T01:41:29.000Z","dependencies_parsed_at":"2023-05-18T00:32:24.135Z","dependency_job_id":null,"html_url":"https://github.com/bash-bastion/bash-args","commit_stats":null,"previous_names":["bash-bastion/bash-args","hyperupcall/bash-args"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/bash-bastion/bash-args","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-args","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-args/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-args/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-args/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bash-bastion","download_url":"https://codeload.github.com/bash-bastion/bash-args/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-args/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632054,"owners_count":23491530,"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":["basalt","bash","cli","command-line","command-line-parser","options-parsing","shell"],"created_at":"2024-08-01T05:00:59.960Z","updated_at":"2025-07-04T23:06:23.499Z","avatar_url":"https://github.com/bash-bastion.png","language":"Shell","readme":"# bash-args\n\nA cute little Bash library for blazing fast argument parsing\n\nSTATUS: IN DEVELOPMENT!\n\n## Summary\n\n- Uses only builtins\n- Uses no subshells\n- Simple API\n\n## Usage\n\n```sh\nbarg.define_flags \\\n\tone \\\n\t\t'--alfa' '-a' '|bool|' 'desc' \\\n\t\t'--bravo' '' 'i' 'desc' \\\n\t\t'' '-charlie' 'i' 'desc' \\\n\t\tEND \\\n\tsubcommand \\\n\t\tEND\n\nbarg.parse_flags \"$@\"\n```\n\n## Installation\n\nUse [Basalt](https://github.com/hyperupcall/basalt), a Bash package manager, to add this project as a dependency\n\n```sh\nbasalt add hyperupcall/bash-args\n```\n","funding_links":[],"categories":["Shell","cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-bastion%2Fbash-args","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbash-bastion%2Fbash-args","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-bastion%2Fbash-args/lists"}