writeConfigurationFile

Writes all settings to the configuration filename passed.

It gathers configuration text from all plugins before formatting it into nice columns, then writes it all in one go.

Additionally gives some empty settings default values.

@safe @system
void
writeConfigurationFile
(,
const string filename
)

Parameters

instance Kameloso

Reference to the current Kameloso, with all its plugins and settings.

filename string

String filename of the file to write to.

Examples

Kameloso instance;
writeConfigurationFile(instance, instance.settings.configFile);