Fully converted to using the lel-guecs library externally now.

This commit is contained in:
Zed A. Shaw 2025-05-13 02:48:39 -04:00
parent 7c90eb6da1
commit 74a8599977
30 changed files with 139 additions and 1194 deletions

View file

@ -2,8 +2,10 @@
#include <nlohmann/json.hpp>
#include <fstream>
#include <codecvt>
#include <filesystem>
struct Config {
static std::filesystem::path BASE_DIR;
nlohmann::json $config;
std::string $src_path;
@ -16,4 +18,7 @@ struct Config {
nlohmann::json &json() { return $config; };
std::wstring wstring(const std::string main_key, const std::string sub_key);
std::vector<std::string> keys();
static void set_base_dir(const char *optarg);
static std::filesystem::path path_to(const std::string& path);
};