Optique is a type-safe CLI parser for TypeScript. Instead of parsing arguments and then validating them separately, you describe the command shape in code and let TypeScript enforce it.

optique.dev
Optique
Type-safe combinatorial CLI parser for TypeScript
