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.

https://github.com/dahlia/optique/discussions/1139

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...

1 reaction with ๐Ÿ‘