Popularity
4.1
Declining
Activity
0.0
Stable
6
4
0
Monthly Downloads: 15
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Development
optparse-text alternatives and similar packages
Based on the "Development" category.
Alternatively, view optparse-text alternatives based on common mentions on social networks and blogs.
-
cabal-install-parsers
Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations -
fourmolu
A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome!
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of optparse-text or a related project?
Popular Comparisons
README
optparse-text
Helpers for
optparse-applicative
to deal withData.Text
.
Example
import qualified Data.Text as T
import qualified Options.Applicative as Opt
import qualified Options.Applicative.Text as OptT
data Options = Options { text :: T.Text
, textArg :: T.Text
, textOpt :: T.Text }
deriving (Eq, Show)
optParser :: Opt.Parser Options
optParser = Options <$> Opt.argument OptT.text ( Opt.metavar "TEXT" )
<*> OptT.textArgument ( Opt.metavar "TEXT2" )
<*> OptT.textOption ( Opt.long "textopt" )
Alternatives
You may want to consider using optparse-generic which has built-in support for Text and provides a very convient generic interface to optparse avoiding a lot of boilerplate.