{"repo":"dahlia/optique","free":true,"listed":false,"github":"https://github.com/dahlia/optique","clone":"git clone https://github.com/dahlia/optique.git","description":"Type-safe combinatorial CLI parser for TypeScript","language":"TypeScript","stars":728,"topics":["cli","getopt","parser-combinators","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"Optique: Type-safe combinatorial CLI parser for TypeScript ========================================================== [![JSR][JSR badge]][JSR] [![npm][npm badge]][npm] [![GitHub Actions][GitHub Actions badge]][GitHub Actions] [![Codecov][Codecov badge]][Codecov] Type-safe combinatorial CLI parser for TypeScript inspired by Haskell's [optparse-applicative] and TypeScript's [Zod]. Build composable parsers for command-line interfaces with full type safety, automatic type inference, and built-in shell completion support for Bash, zsh, fish, PowerShell, and Nushell, plus config file integration and man page generation from the same parser definitions. [!NOTE] Optique is a parsing library that focuses on extracting and validating command-line arguments. It doesn't dictate your application's structure, handle command execution, or provide scaffolding—it simply transforms command-line input into well-typed data structures. [JSR badge]: https://jsr.io/badges/@optique/core [JSR]: https://jsr.io/@optique [npm badge]: https://img.shields.io/npm/v/@optique/core?logo=npm [npm]: https://www.npmjs.com/package/@optique/core [GitHub Actions badge]: https://github.com/dahlia/optique/actions/workflows/main.yaml/badge.svg [GitHub Actions]: https://github.com/dahlia/optique/actions/workflows/main.yaml [Codecov badge]: https://codecov.io/gh/dahlia/optique/graph/badge.svg?token=Dw50j2DTjG [Codecov]: https://codecov.io/gh/dahlia/optique [optparse-applicative]: https://github.com/pcapriotti/optparse-a","default_branch":null,"files":null,"tree":[],"storefront":"/r/dahlia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dahlia/optique/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}