Autodocodec.Yaml.IO
readYamlConfigFile :: HasCodec a => Path r File -> IO (Maybe a) Source #
Helper function to read a yaml file for a type in HasCodec
HasCodec
This will output a colourful yaml schema if parsing fails.
readFirstYamlConfigFile :: forall a r. HasCodec a => [Path r File] -> IO (Maybe a) Source #
Helper function to read the first in a list of yaml files for a type is HasCodec