--- layout: home pageClass: optique-landing title: "Optique: type-safe combinatorial CLI parser for TypeScript" description: >- Model your command-line grammar with composable, type-safe parsers. Mutually exclusive modes, dependent options, inferred result types, help, completion, and man pages all come from the same parser definition. ---
Type-safe CLI parser combinators
Model your command-line grammar with composable parsers. Mutually exclusive modes, dependent options, inferred result types, and context-aware completion all come from the same structure.
Not a friendlier option builder. A parser-combinator library whose result types are the grammar of your command line.