#include <cstdint>
#include <filesystem>
#include <iostream>
#include <string>
#include <thread>

#include "CopyManagerOptions.h"
#include "CopyManager.h"

namespace sfs = std::filesystem;



int main(int argc, char** argv)
{
    std::cout << "Sendfile Copy Util\n" << std::endl;

    if (argc < 3)
    {
        std::cerr << "ERROR: please specify input path and output path\n" << std::endl;
        return -1;
    }

    DBS::CopyManagerOptions options(argv[1], argv[2]);

    DBS::CopyManager manager(options);
    int rc = manager.run();

    return 0;
}
