To Dream of Magick

Dreamer Shaper Seeker Maker

Optparse-Applicative

Summary information

execParser  :: ParserInfo a -> IO a
info        :: Parser a -> InfoMod a -> ParserInfo
subParser   :: Mod CommandFields a -> Parser a
command     :: String -> ParserInfo a -> Mod CommandFields a
strOption   :: Mod OptionFields String -> Parser String


data Mod f a
    Monoid
long        :: String -> Mod f a
help        :: String -> Mod f a
value       :: HasValue f => a -> Mod f a


data ReadM a
    Functor
    Applicative
    Alternative
    Monad
    MonadPlus
option      :: ReadM a -> Mod OptionFields a -> Parser a
str         :: ReadM str


data InfoMod a
    Monoid
progDesc    :: String -> InfoMod a
header      :: String -> InfoMod a
fullDesc    :: InfoMod a