Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ConfigCommandArgs a = ConfigCommandArgs {
- ccaTrace :: Trace IO (AppMsg (Builtin a))
- ccaLoggingConfig :: Configuration
- ccaPABConfig :: Config
- ccaAvailability :: Availability
- ccaStorageBackend :: StorageBackend
- runConfigCommand :: forall a. (Ord a, Show a, ToJSON a, FromJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> ConfigCommandArgs a -> ConfigCommand -> IO ()
Documentation
data ConfigCommandArgs a Source #
ConfigCommandArgs | |
|
runConfigCommand :: forall a. (Ord a, Show a, ToJSON a, FromJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> ConfigCommandArgs a -> ConfigCommand -> IO () Source #
Interpret a Command
in Eff
using the provided tracer and configurations