Saves the passed configuration text to disk, with the given filename.
Optionally (and by default) adds the "kameloso" version banner at the head of it.
Filename of file to write to.
Content to write to file.
Appender!(char[]) sink; sink.serialise(client, server, settings); immutable configText = sink.data.justifiedEntryValueText; writeToDisk("kameloso.conf", configText, addBanner: true);
Saves the passed configuration text to disk, with the given filename.
Optionally (and by default) adds the "kameloso" version banner at the head of it.