- Support GHC 9.10
- Support GHC 9.8
- #7 add
runProc
,runProcSilently
andreadProc
.
- #6
cli-extras
now depends onutf8-string
andshell-escape
- #6 Removed
mkDefaultCliConfig
,prettyProcessFailure
- #6
cli-extras
now manages the control flow for exceptions:- The type
CliConfig
is now parametrised over the type of errors, and the classHasCliConfig
was changed accordingly - The return type of
runCli
was changed fromm (Either e a)
tom a
. - A new transformer
DieT
was added as an intermediate between the fullCliT
and "LoggingT
with errors". Errors thrown inDieT
can not be caught, and abort the program according to the configuration.
newCliConfig
now takes an argument describing how errors should be handled.
- The type
- #6 Added helper functions:
runProcess_
(run aProcessSpec
, aborting if the called process fails)fork
(liftsforkIO
to theCliT
monad)whenLogLevel
(runs an action iff the current log level matches a predicate)errorToWarning
(log an error as if it were a warning)
- #6 The action
allowUserToMakeLoggingVerbose
now takes an argument specifying how the key combination should be shown to the user. Additionally, theCliConfig
argument was removed and made into aHasCliConfig
constraint.
- Loosen aeson, which, ansi-terminal version bounds
- Loosen version bounds. Support GHC 8.8.4.
- Remove orphan MonadFail instance for LoggingT (we now require monad-logger >= 0.3.30)
- Initial release