Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
askTextArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Text #
askTextArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Text) #
askBoolArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Bool -> Text -> Sem r Bool #
askBoolArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Bool #
askBoolArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Bool) #
parseBoolArg :: Member FatalError r => Text -> Value -> Sem r Bool #
askNumArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Scientific #
askArg :: (FromJSON a, Members [Input MetaArguments, FatalError, Log] r) => Text -> Sem r a #
lookupRequiredArg :: Members [Input MetaArguments, Log, FatalError] r => Text -> Sem r Value #