Optique

Use this skill when writing any code that builds a command-line interface with Optique in TypeScript or JavaScript. Covers the combinatorial parser model, choosing @optique/core vs @optique/run, value parsers, structured messages, optional()/withDefault()/multiple(), subcommands with command() and or(), shell completion, async parsing, the integration packages, and common mistakes to avoid. Trigger whenever the user is parsing command-line arguments, building a CLI, or adding options or subcommands to a tool.

dahlia 9df85b1 2 files · 24.4 KB Updated

File contents

dahlia/optique/tree/main/packages/core/skills/optique commit 9df85b1a2c

Frequently asked questions

npx skillmds@latest add dahlia/optique