| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Stackctl.Config
Documentation
Constructors
| Config | |
Fields
| |
emptyConfig :: Config Source #
data ConfigError Source #
Constructors
| ConfigInvalidYaml ParseException | |
| ConfigInvalid (NonEmpty Text) | |
| ConfigVersionNotSatisfied RequiredVersion Version |
Instances
| Show ConfigError Source # | |
Defined in Stackctl.Config Methods 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 #