From 71f1c1bb296a506374944b9997c41b9c1fce22d9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 30 Oct 2025 23:27:18 -0700 Subject: add rclone file uploader --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index e926df7..576eb27 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,8 @@ #include #include #include "markdown_translator.hpp" +#include "file_uploader.hpp" +#include "rclone_uploader.hpp" bool parseArguments(int argc, char* argv[], std::unordered_map& params, std::string& inputFile) { if (argc < 2) { @@ -44,6 +46,10 @@ int main(int argc, char* argv[]) { std::unordered_map params; std::string inputFile; + // FileUploader* fileupload; + // fileupload = new RcloneUploader("", "r2"); + // std::cout << fileupload->testConnection() << std::endl; + if (!parseArguments(argc, argv, params, inputFile)) { return 1; } -- cgit v1.2.3