| ๐งฉ Every kind of argument Options with abbreviations, positionals, flags and --x/--no-x pairs, counters (-vvv), repeatable options, optional values, inline --opt=value, hidden arguments, value placeholders. Defining arguments |
๐ข Typed values, lists and maps One get for every integer and real kind, logicals and strings; fixed-size lists (nargs='3'), runtime-sized ones ('+', '*') into allocatable arrays, KEY=VALUE maps. Parsing & getting values ยท Maps |
| โ
Validation built in Required options, choices, numeric ranges with open bounds or clamping, path checks (exists, readable, writable), mutually exclusive sets, deprecation warnings: declared in the definition, checked for you. Ranges ยท Paths ยท Exclusive sets |
๐ฌ Errors that helpswitch "--tiems" is unknown! Did you mean "--times"? Suggestions, a hint line, the usage after an error, a named constant for every code, and your own errors printed in the same style. Errors |
| ๐ Commands git-style commands, each with its options and its help; aliases, option sets shared between commands, mutually exclusive commands, several commands on one command line. Subcommands |
๐ฑ Values from everywhere Command line, environment variables (named or generated from a prefix), INI configuration files and defaults, in a fixed precedence; the source of every value reported, for reproducible runs. Value sources ยท Configuration files |
| ๐ Help, man page, Markdown The help and the usage are generated from the definitions, with colours, examples and an epilog; --man and --markdown save the same content as a man page and a Markdown file. Output formats |
โจ๏ธ Shell completion Completion scripts for bash, zsh, fish and PowerShell, which the program prints or installs by itself: --show-completion, --install-completion. Shell completion |
| ๐งช Testable command lines Parse a string instead of the real command line, parse again, get statuses back instead of stops, send the messages to the units you choose: your CLI can be unit tested. Testing |
๐ Interactive menus An opt-in module asks for what is missing: single or multiple choice, defaults, yes/no questions, retries; it never blocks a batch job. Interactive menus |
| ๐ค Ready for scripts and agents Declared value types, a JSON description ( --schema), a validate-only mode (--check), --dry-run, JSON errors with exit statuses that say what to change, and an agent skill generated from the definitions. Tutorial. |
๐งพ Reproducible runs A JSON manifest of every run: the command line and each value with its source, with no date or host, so the same inputs give the same bytes. Sensitive values stay masked, in errors too. Run manifest. |
| ๐ ๏ธ Standard Fortran, any build Fortran 2018, tested with gfortran 16, nvfortran and Intel ifx; built with FoBiS, fpm, CMake or Make. Two small dependencies, fetched for you. Installation |
๐ Multi-licensed GPL v3 for FOSS projects; BSD 2-Clause, BSD 3-Clause or MIT for closed source and commercial ones: pick the license that fits. Copyrights |