Common place for config files
Add config and db files to a default location instead of next to the executable. putting a config next to the executable can still be used if people want.
This also allows installers in the future.
TODO:
-
Allow config to be created on different OS (Linux, Windows, macOS) -
Allow config and database files to be removed and reset using CLI. -
Allow both SQLite and Postgres to be used depending on the binary that is used. without having to change the config file. -
Move database files (SQLite) to global folder.
Edited by Ralph Bisschops