Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
askTextArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Text -> Text -> Sem r Text #
askTextArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Text #
askTextArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Text) #
parseTextArg :: Member FatalError r => Text -> Value -> Sem r 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 #
askNumArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Scientific -> Text -> Sem r Scientific #
askNumArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Scientific #
askNumArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Scientific) #
parseNumArg :: Member FatalError r => Text -> Value -> 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 #