@hongminhee@hollo.social
Optique, a type-safe combinatorial CLI parser for TypeScript, just shipped 1.2.0.
Modifiers are chainable now: option(…).map(…).withDefault(…). deferredValue() defers a fallback until the handler asks for it.
Four new packages:
@optique/prompt@optique/clack@optique/standard-schema@optique/derived-defaults
@optique/discover gains lifecycle hooks and a static-module generator, and optique.dev has a new look.
github.com
Optique 1.2.0: fluent modifiers, deferred values, new integrations, and a redesigned site · dahlia/optique · Discussion #877
Optique 1.2.0 adds a method-call style for modifiers, a deferredValue() parser for fallbacks that should only resolve inside a handler, and four new packages: @optique/prompt, @optique/clack, @opti...
