Introduction to optparse-applicative
masteroptparse-applicative is a Haskell library for parsing command-line options using an applicative interface. It handles argument validation, error reporting, usage line generation, help screens, and shell completions (bash, zsh, fish).
The core type is Parser a, which represents a specification for a set of options that yields a value of type a upon successful parsing. It implements the following typeclass instances:
Functor ParserApplicative ParserAlternative Parser