cabal-version:       1.18
name:                simple-cmd-args
version:             0.1.0
synopsis:            Simple command args parsing and execution
description:
            This a smaller wrapper over optparse-applicative which
            which allows combining the args parsers directly with IO commands,
            avoiding typical command type boilerplate. Also provides
            a few option Mod functions.
homepage:            https://github.com/juhp/simple-cmd-args
bug-reports:         https://github.com/juhp/simple-cmd-args/issues
license:             BSD3
license-file:        LICENSE
author:              Jens Petersen
maintainer:          juhpetersen@gmail.com
copyright:           2019 Jens Petersen
category:            System
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2,
                     GHC == 8.4.4, GHC == 8.6.3

source-repository head
  type:                git
  location:            https://github.com/juhp/simple-cmd-args.git

library
  exposed-modules:     SimpleCmdArgs

  build-depends:       base >= 4 && < 5
                     , optparse-applicative
  if impl(ghc<8.0)
      build-depends: semigroups

  ghc-options:         -Wall -fwarn-missing-signatures

  default-language:    Haskell2010
  default-extensions:  CPP
