| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Make Bash a structured language.
Bash is powerful and widely available, but easy to write in a way that is hard to read and maintain. argsh provides the building blocks to write Bash code that is structured, tested, and production-ready.
local -a args=(
'name|n:!' "Your name"
'age|a:~int' "Your age"
'verbose|v:+' "Verbose output"
)
:args "Greet someone" "${@}"Flags, types, defaults, validation, and --help — from a plain array.
local -a usage=(
'deploy|d' "Deploy the app"
'status|s' "Show status"
)
:usage "App manager" "${@}"Convention-based routing with fuzzy typo suggestions.
Optional loadable builtins compiled from Rust run natively inside the Bash process — zero fork overhead, zero subshell cost.
./myscript mcp # MCP server (stdio)
./myscript docgen llm claude # Anthropic tool schema
./myscript docgen llm openai # OpenAI function callingEvery argsh script is an MCP server and LLM tool — no glue code.
Everything runs locally when available, transparently forwards to Docker otherwise.
curl -sL https://min.arg.sh > .bin/argsh && chmod +x .bin/argshOr use the interactive installer:
bash -c "$(curl -sL https://get.arg.sh)"
Copyright © 2026-present Jan Guth
Loading…
Loading…
| Back | FazBrowse Home | New Git URL |