headroom-0.4.0.0: License Header Manager
Copyright(c) 2019-2021 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Command.Utils

Description

Contains shared code common to all command handlers.

Synopsis

Documentation

bootstrap Source #

Arguments

:: (LogFunc -> IO env)

function returning environment data

-> Bool

whether to run in debug mode

-> RIO env a

RIO application to execute

-> IO a

execution result

Bootstraps RIO application using provided environment data and flag whether to run in debug mode.