pub fn export(cfg: &Config) -> Result<String>
The preferences as a TOML file that import reads back.
import