forked from pcapriotti/optparse-applicative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
optparse-applicative.cabal
140 lines (123 loc) · 5.01 KB
/
optparse-applicative.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
name: optparse-applicative
version: 0.18.1.0
synopsis: Utilities and combinators for parsing command line options
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>.
license: BSD3
license-file: LICENSE
author: Paolo Capriotti, Huw Campbell
maintainer: [email protected]
copyright: (c) 2012-2017 Paolo Capriotti <[email protected]>
category: System, CLI, Options, Parsing
build-type: Simple
cabal-version: >= 1.10
extra-source-files: CHANGELOG.md
README.md
tests/alt.err.txt
tests/cabal.err.txt
tests/carry.err.txt
tests/commands.err.txt
tests/commands_header.err.txt
tests/commands_header_full.err.txt
tests/dropback.err.txt
tests/hello.err.txt
tests/helponempty.err.txt
tests/helponemptysub.err.txt
tests/long_equals.err.txt
tests/formatting.err.txt
tests/formatting-long-subcommand.err.txt
tests/nested.err.txt
tests/optional.err.txt
tests/nested_optional.err.txt
tests/subparsers.err.txt
homepage: https://github.com/pcapriotti/optparse-applicative
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
tested-with:
GHC==9.6.1
GHC==9.4.4
GHC==9.2.7
GHC==9.0.2
GHC==8.10.7
GHC==8.8.4
GHC==8.6.5
GHC==8.4.4
GHC==8.2.2
GHC==8.0.2
GHC==7.10.3
GHC==7.8.4
GHC==7.6.3
GHC==7.4.2
GHC==7.2.2
GHC==7.0.4
source-repository head
type: git
location: https://github.com/pcapriotti/optparse-applicative.git
flag process
description:
Depend on the process package for Bash autocompletion
default: True
library
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell98
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
if impl(ghc >= 8.0)
ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances
if impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
exposed-modules: Options.Applicative
, Options.Applicative.Arrows
, Options.Applicative.BashCompletion
, Options.Applicative.Builder
, Options.Applicative.Builder.Completer
, Options.Applicative.Builder.Internal
, Options.Applicative.Common
, Options.Applicative.Extra
, Options.Applicative.Help
, Options.Applicative.Help.Chunk
, Options.Applicative.Help.Core
, Options.Applicative.Help.Levenshtein
, Options.Applicative.Help.Pretty
, Options.Applicative.Help.Types
, Options.Applicative.NonEmpty
, Options.Applicative.Types
, Options.Applicative.Internal
build-depends: base >= 4.5 && < 5
, text >= 1.2
, transformers >= 0.2 && < 0.7
, transformers-compat >= 0.3 && < 0.8
, prettyprinter >= 1.7 && < 1.8
, prettyprinter-ansi-terminal >= 1.1 && < 1.2
if flag(process)
build-depends: process >= 1.0 && < 1.7
if !impl(ghc >= 8)
build-depends: semigroups >= 0.10 && < 0.21
, fail == 4.9.*
test-suite tests
type: exitcode-stdio-1.0
main-is: test.hs
ghc-options: -Wall -threaded -O2 -funbox-strict-fields
hs-source-dirs: tests
default-language: Haskell98
other-modules: Examples.Alternatives
, Examples.Cabal
, Examples.Commands
, Examples.Formatting
, Examples.Hello
, Examples.LongSub
build-depends: base
, optparse-applicative
, QuickCheck >= 2.8 && < 2.15
if !impl(ghc >= 8)
build-depends: semigroups