shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Configuration.Env

Description

Provides functions for creating Env from CLI/Toml configuration.

Synopsis

Running with Env

withEnv :: (HasCallStack, MonadDBus m, MonadFileReader m, MonadFileWriter m, MonadHandleWriter m, MonadOptparse m, MonadPathReader m, MonadPathWriter m, MonadSTM m, MonadThrow m, MonadTerminal m) => (Env r -> m a) -> m a Source #

Creates an Env from CLI args and TOML config to run with a monadic action.

Misc