database utils written

This commit is contained in:
2025-12-23 23:25:44 -06:00
parent 50cb5c6473
commit c3e0b7c27b
3 changed files with 102 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#include "spdlog/spdlog.h"
#include <string>
#include <toml++/toml.h>
@@ -11,5 +12,6 @@ int main (int argc, char *argv[]) {
std::string clickhouse_db = config["clickhouse"]["db"].value_or("");
if(clickhouse_username.empty() || clickouse_password.empty() || clickhouse_db.empty()) throw std::runtime_error("put the creds in the right place idiot");
spdlog::info("Logging is functional");
return 0;
}