BoettcherDasOriginal / LeoConsole

LeoConsole is a terminal with many features! It allows you to quickly and easily program smaller or larger console functions or use those of others. It is written in C# 10 under .NET 6
GNU General Public License v3.0
2 stars 0 forks source link

[Feature request] API extension - config #43

Closed alexcoder04 closed 2 years ago

alexcoder04 commented 2 years ago

Description

Plugin API that creates and writes plugin-specific configs.

Intended Use-Case

simplify plugin development

alexcoder04 commented 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.

alexcoder04 commented 2 years ago

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