Introduction
Argsh consists of a set of tools that help you to build not only beautiful but powerful command-line interfaces (CLIs) for your applications but also to help you with good code quality and maintainability.
Core Features
Argsh library in itself consists of Bash code snippets that you can use in your scripts. Within these snippets you also find the command-line parser.
Additionally argsh provides a collection of widely used projects around Bash scripting. These are conveniently packed into a single Docker image. The argsh script is the entry point to this image.
You can always check what is available by running argsh --help.
Parse command-line arguments with ease.
Make sure your scripts are clean and readable.
Write tests for your scripts.
Check your test coverage.
Document your scripts.
Minify your scripts after you have tested them.
Speed up parsing with native Bash loadable builtins.
Guides
Generate shell completions for bash, zsh, and fish.
Generate man pages, Markdown, reST, YAML, and LLM schemas.
MCP servers and LLM tool schemas from your CLI declarations.