@hongminhee@hollo.social

Optique 1.1.0 is out.

The headline is the new @optique/discover package: point it at a directory of files and it builds a full command tree, with typed handlers and help/completion included automatically.

Also new: value parsers for file sizes, CSS colors, semver strings, JSON, and KEY=VALUE pairs; seq() for ordered positional grammars; negatableFlag() for --color/--no-color patterns; async Zod/Valibot helpers.

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

github.com

Optique 1.1.0: Command discovery, value parsers, and ordered grammars · dahlia/optique · Discussion #834

Optique 1.1.0 is the first feature release after the stable 1.0.0 baseline. The largest addition is @optique/discover, a package for organizing larger CLIs as file-based command modules with typed ...