Ross ROSS = Recommend OSS · open-source software intelligence for agents

matejak/argbash

Bash argument parsing code generator observed · 2026-08-28

github.com/matejak/argbash · homepage · M4 · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

37/100

  • Activity 32
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4038
  • days_rel: 468
  • days_push: 412
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1483 stars · 66 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Argbash is a code generator that produces tailor-made Bash argument-parsing code from short argument definitions embedded in your scripts. It supports positional and optional arguments, long options, and works on all platforms with Bash.

Use cases

  • add command-line argument parsing to a bash script
  • generate bash script with long options support
  • replace getopts with long-option parsing
  • create CLI interface for shell script quickly
  • regenerate argument parsing code from embedded definitions
  • make shell scripts accept positional and optional arguments

When to choose

  • you write Bash scripts that need a proper CLI with minimal effort
  • you need cross-platform argument parsing without external dependencies at runtime
  • you want parsing code embedded in the script itself for easy regeneration

When to avoid

  • you need argument parsing in languages other than Bash
  • you prefer a runtime parsing library over generated code
  • your scripts must run in POSIX sh without Bash

Facets

cli-tool · maturity active

cli parser developer-tools developer-tools windows cross-platform cli bash shell-scripts argument-parsing code-generator m4 getopts-alternative code-generation command-line automation linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
matejak/argbashmain37

For agents

markdown · JSON · MCP: product_card(name="matejak/argbash")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem