antiope-optparse-applicative (empty) → 7.0.1
raw patch · 7 files changed
+92/−0 lines, 7 filesdep +aesondep +amazonkadep +amazonka-coresetup-changed
Dependencies added: aeson, amazonka, amazonka-core, amazonka-s3, base, hedgehog, hspec, hw-hspec-hedgehog, optparse-applicative, text
Files
- ChangeLog.md +3/−0
- LICENSE +21/−0
- README.md +1/−0
- Setup.hs +2/−0
- antiope-optparse-applicative.cabal +53/−0
- src/Antiope/Options/Applicative.hs +11/−0
- test/Spec.hs +1/−0
+ ChangeLog.md view
@@ -0,0 +1,3 @@+# Changelog for antiope-optparse-applicative++## Unreleased changes
+ LICENSE view
@@ -0,0 +1,21 @@+The MIT License (MIT)++Copyright (c) 2018 Arbor Networks++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.
+ README.md view
@@ -0,0 +1,1 @@+# antiope-optparse-applicative
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ antiope-optparse-applicative.cabal view
@@ -0,0 +1,53 @@+cabal-version: 2.2+name: antiope-optparse-applicative+version: 7.0.1+synopsis: Please see the README on Github at <https://github.com/arbor/antiope#readme>+description: Please see the README on Github at <https://github.com/arbor/antiope#readme>.+category: Services+homepage: https://github.com/arbor/antiope#readme+bug-reports: https://github.com/arbor/antiope/issues+author: Arbor Networks+maintainer: mayhem@arbor.net+copyright: Arbor Networks+license: MIT+license-file: LICENSE+build-type: Simple+extra-source-files:+ README.md+ ChangeLog.md++source-repository head+ type: git+ location: https://github.com/arbor/antiope++library+ hs-source-dirs: src+ default-extensions: BangPatterns GeneralizedNewtypeDeriving OverloadedStrings TupleSections+ ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -msse4.2+ default-language: Haskell2010+ exposed-modules:+ Antiope.Options.Applicative+ build-depends:+ base >= 4.7 && < 5+ , amazonka >= 1.6+ , amazonka-core >= 1.6+ , amazonka-s3 >= 1.6+ , optparse-applicative >= 0.14.3.0 && < 0.15+ , text++test-suite antiope-optparse-applicative-test+ type: exitcode-stdio-1.0+ main-is: Spec.hs+ hs-source-dirs: test+ default-extensions: BangPatterns GeneralizedNewtypeDeriving OverloadedStrings TupleSections+ ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -msse4.2 -threaded -rtsopts -with-rtsopts=-N+ default-language: Haskell2010+ build-depends:+ base >= 4.7 && < 5+ , aeson+ , amazonka >= 1.6+ , amazonka-core >= 1.6+ , amazonka-s3 >= 1.6+ , hedgehog >= 0.5 && <0.7+ , hspec >= 2.4 && <2.7+ , hw-hspec-hedgehog >= 0.1 && <0.3
+ src/Antiope/Options/Applicative.hs view
@@ -0,0 +1,11 @@+module Antiope.Options.Applicative+ ( autoText+ ) where++import Network.AWS.Data.Text+import Options.Applicative++import qualified Data.Text as T++autoText :: FromText a => ReadM a+autoText = eitherReader $ fromText . T.pack
+ test/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}