Jabacat's Easy Config
JEC-py | JEC-rs | JEC-go | JEC-c | JEC-c++ | JEC-zig | JEC-ts | JEC-kt
ConfigFile
- exists
- remove
- create
- fromHome
ConfigDir
- exists
- remove
- create
- fromHome
val conf1 = ConfigFile("config.yml")
val conf2 = ConfigFile.fromHome("config.yml")
val dir1 = ConfigDir("config")
val dir2 = ConfigDir.fromHome("config")
if (!dir1.exists()) dir1.create()
dir1.remove()