Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Options = Options {}
- programOptions :: Parser Options
- getOptInput :: Options -> FilePath
- options :: IO Options
- options' :: [String] -> IO Options
- type Target = Maybe FilePath
- execParser' :: [String] -> ParserInfo a -> IO a
- customExecParser' :: ParserPrefs -> [String] -> ParserInfo a -> IO a
Documentation
getOptInput :: Options -> FilePath Source #
Option parsing and handling
Patch to optparse-applicative
execParser' :: [String] -> ParserInfo a -> IO a Source #
Like execParser
, but parse given argument list rather than those from getArgs
.
customExecParser' :: ParserPrefs -> [String] -> ParserInfo a -> IO a Source #
Run a program description with custom preferences.