optparse-generic: Auto-generate a command-line parser for your datatype

[ bsd3, library, program, system ] [ Propose Tags ] [ Report a vulnerability ]

This library auto-generates an optparse-applicative-compatible Parser from any data type that derives the Generic interface.

See the documentation in Options.Generic for an example of how to use this library

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.5.0, 1.5.1, 1.5.2 (info)
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), bytestring (<0.13), filepath (<1.6), Only (<0.2), optparse-applicative (>=0.16.0.0 && <0.19), optparse-generic, semigroups (>=0.5.0 && <0.20), singletons (>=0.10.0 && <1.0), tagged (>=0.8.3 && <0.9), text (<2.2), th-desugar (<1.5.1), time (>=1.5 && <1.13), transformers (>=0.2.0.0 && <0.7), transformers-compat (>=0.3 && <0.8), void (<0.8) [details]
Tested with ghc ==7.8.4, ghc ==7.10.2, ghc ==8.0.1
License BSD-3-Clause
Copyright 2016 Gabriella Gonzalez
Author Gabriella Gonzalez
Maintainer GenuineGabriella@gmail.com
Revised Revision 1 made by GabrielGonzalez at 2024-02-01T23:56:40Z
Category System
Bug tracker https://github.com/Gabriella439/Haskell-Optparse-Generic-Library/issues
Source repo head: git clone https://github.com/Gabriella439/Haskell-Optparse-Generic-Library
Uploaded by GabrielGonzalez at 2023-11-20T00:31:53Z
Distributions Arch:1.5.2, LTSHaskell:1.5.2, NixOS:1.5.2, Stackage:1.5.2
Reverse Dependencies 33 direct, 19 indirect [details]
Executables optparse-generic-example-unwrap-with-help, optparse-generic-example-unwrap-options
Downloads 35679 total (227 in the last 30 days)
Rating 2.5 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-11-20 [all 1 reports]