packages feed

optparse-applicative-dex-1.0.1: optparse-applicative-dex.cabal

cabal-version: 2.2

name: optparse-applicative-dex
version: 1.0.1
synopsis: Extra functions for working with optparse-applicative
description:
  optparse-applicative is a fantastic library
  .
  My usage of it has often used the same features wrapped in a `parseOpts`
  function along with a version helper.
  .
  This package abstracts that code into a re-usable library, minimizing pasting
  between projects.
author: Dino Morelli
maintainer: dino@ui3.info
copyright: 2025 Dino Morelli
category: CLI, Console, Options, Parsing
license: ISC
license-file: LICENSE
build-type: Simple
extra-source-files:
  .gitignore
  README.md
  stack.yaml
extra-doc-files:
  CHANGELOG.md

source-repository head
  type: git
  location: https://codeberg.org/dinofp/optparse-applicative-dex

common lang
  default-language: Haskell2010
  ghc-options:
    -fwarn-tabs
    -Wall
    -Wcompat
    -Wderiving-typeable
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wpartial-fields
    -Wredundant-constraints

library
  import: lang
  exposed-modules:
      Options.Applicative.Dex
  hs-source-dirs:
    src/lib
  build-depends:
      base >=3 && <5
    , optparse-applicative >=0.17.1 && <1
    , prettyprinter >=1.7.1 && <2
    , text >=1.11.1 && <3