Closed alexcoder04 closed 2 years ago
Actually, I meant a set of functions like
GetConfig(key)
-> returns value for that key
SetConfig(key, value)
-> saves the value for that key
And LeConsole would take over creating config file/directory if they not exist, checking if key is set etc.
Btw it is already implemented in gilc (https://github.com/alexcoder04/gilc/blob/main/config.go), you can take a look if you want to see what I mean
Description
Plugin API that creates and writes plugin-specific configs.
Intended Use-Case
simplify plugin development