parseConfigurationFile

open suspend override fun parseConfigurationFile(file: String): FF4kConfiguration(source)

Parses a configuration from a file on the filesystem.

Supports tilde (~) expansion to the user's home directory on all platforms.

Return

The parsed configuration object.

Parameters

file

The path to the file to parse. Can be absolute or relative.

Throws

if the file cannot be read or parsed.