← All repos

optparse-applicative

Applicative option parser

applicativehaskelloption-parser
Browse cluster: Haskell tooling and libraries
871commits
63contributors
1languages

Tech stack & purpose

optparse-applicative is a Haskell library for parsing command-line options and arguments. It provides an applicative interface for composing option parsers, handling argument validation, generating usage documentation and help screens, and enabling bash, zsh, and fish shell completions. The library is built around a `Parser` type that implements `Functor`, `Applicative`, and `Alternative` instances, allowing developers to construct complex command-line interfaces by combining simpler parsers using standard functional programming patterns.

Languages

Haskell
100.0%

Contributors (top 30 of 63)