globalOptsFromMonoid :: Bool -> GlobalOptsMonoid -> GlobalOpts
globalOptsFromMonoid defaultTerminal GlobalOptsMonoid{..} = GlobalOpts
    { globalReExecVersion = globalMonoidReExecVersion
    , globalDockerEntrypoint = globalMonoidDockerEntrypoint
    , globalLogLevel = fromMaybe defaultLogLevel globalMonoidLogLevel
    , globalConfigMonoid = globalMonoidConfigMonoid
    , globalResolver = globalMonoidResolver
    , globalCompiler = globalMonoidCompiler
    , globalTerminal = fromMaybe defaultTerminal globalMonoidTerminal
    , globalStackYaml = globalMonoidStackYaml }
globalOptsFromMonoid :: Bool -> GlobalOptsMonoid -> GlobalOpts
globalOptsFromMonoid defaultTerminal GlobalOptsMonoid{..} = GlobalOpts
    { globalReExecVersion = globalMonoidReExecVersion
    , globalDockerEntrypoint = globalMonoidDockerEntrypoint
    , globalLogLevel = fromMaybe defaultLogLevel globalMonoidLogLevel
    , globalConfigMonoid = globalMonoidConfigMonoid
    , globalResolver = globalMonoidResolver
    , globalCompiler = globalMonoidCompiler
    , globalTerminal = fromMaybe defaultTerminal globalMonoidTerminal
    , globalStackYaml = globalMonoidStackYaml }
globalOptsFromMonoid defaultTerminal GlobalOptsMonoid{..} = GlobalOpts
    { globalReExecVersion = globalMonoidReExecVersion
    , globalDockerEntrypoint = globalMonoidDockerEntrypoint
    , globalLogLevel = fromMaybe defaultLogLevel globalMonoidLogLevel
    , globalConfigMonoid = globalMonoidConfigMonoid
    , globalResolver = globalMonoidResolver
    , globalCompiler = globalMonoidCompiler
    , globalTerminal = fromMaybe defaultTerminal globalMonoidTerminal
    , globalStackYaml = globalMonoidStackYaml }