Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Config | |
|
emptyConfig :: Config Source #
data ConfigError Source #
ConfigInvalidYaml ParseException | |
ConfigInvalid (NonEmpty Text) | |
ConfigVersionNotSatisfied RequiredVersion Version |
Instances
Show ConfigError Source # | |
Defined in Stackctl.Config showsPrec :: Int -> ConfigError -> ShowS # show :: ConfigError -> String # showList :: [ConfigError] -> ShowS # |
loadConfigOrExit :: (MonadIO m, MonadLogger m) => m Config Source #
loadConfigFromBytes :: MonadError ConfigError m => ByteString -> m Config Source #
applyConfig :: Config -> StackSpecYaml -> StackSpecYaml Source #