Package0.18.1.0SystemCLIOptionsParsing
optparse-applicative
Utilities and combinators for parsing command line options
- Version0.18.1.0
- CategorySystem, CLI, Options, Parsing
- LicenceBSD-3-Clause
- AuthorPaolo Capriotti, Huw Campbell
- Maintainerhuw.campbell@gmail.com
- Homepagegithub.com/pcapriotti/optparse-applicative
- Pinned byhackage optparse-applicative 0.18.1.0
- Sourcehackage.haskell.org/package/optparse-applicative-0.18.1.0
Modules
17 modules- Options.Applicative109
- Options.Applicative.Arrows20This module contains an arrow interface for option parsers, which allows
- Options.Applicative.BashCompletion4You don't need to import this module to enable bash completion. See
- Options.Applicative.Builder74
- Options.Applicative.Builder.Completer6
- Options.Applicative.Common13
- Options.Applicative.Extra16
- Options.Applicative.Help0
- Options.Applicative.Help.Chunk12
- Options.Applicative.Help.Core17
- Options.Applicative.Help.Levenshtein1
- Options.Applicative.Help.Pretty107
- Options.Applicative.Help.Types2
- Options.Applicative.NonEmpty1
- Options.Applicative.Types43
Internal modules · 2
Description
optparse-applicative is a haskell library for parsing options on the command line, and providing a powerful applicative interface for composing them.
optparse-applicative takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions.
See the included README for detailed instructions and examples, which is also available on github https://github.com/pcapriotti/optparse-applicative.
Depends on
7 packages- base-4.20.2.0with GHC
- prettyprinter-1.7.1in this set
- prettyprinter-ansi-terminal-1.1.3in this set
- process-1.6.26.1with GHC
- text-2.1.3with GHC
- transformers-0.6.1.1with GHC
- transformers-compat-0.7.2in this set