I released Optique 1.4.0, a type-safe CLI parser for TypeScript. If your CLI has...
洪 民憙 (Hong Minhee) :nonbinary: @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.