fromFile

fun fromFile(file: File, moshi: Moshi = defaultMoshi): ValhallaConfig

Parses a complete valhalla config from a file on disk.

Throws

if the file is malformed or is not a valhalla config.

if the file cannot be read.