local inicfg = require 'inicfg'
local directIni = ''
local ini = inicfg.load(inicfg.load({
section1 = {
key1_bool = true,
key2_string = 'string',
key3_int = 1,
},
section2 = {
key1_bool = false,
key2_string = 'hello world',
key3_int = 2,
},
}, directIni))
inicfg.save(ini, directIni)