save

fun save(config: TerminalConfig)

Saves the provided configuration to the TOML file.

Creates any missing parent directories before writing. Writes the values mapped onto a documented TOML template for power user readability.

Parameters

config

the configuration to save.