@hongminhee@hollo.social
I released Optique 1.4.0, a type-safe CLI parser for TypeScript.
If your CLI has one main action and a few subcommands, you can now set a default command. For example, app src/main.ts can run the same action as app run src/main.ts, while app build still runs its own subcommand. No need to rewrite argv yourself.
github.com
Optique 1.4.0: Default commands, Markdown references, and more focused help · dahlia/optique · Discussion #1139
Optique is a type-safe combinatorial CLI parser for TypeScript built from composable parser functions. Parser definitions drive runtime parsing, help and completion output, and the inferred value t...
