tahamajs's picture
download
raw
603 Bytes
#include <stdexcept>
#include <string>
#include "genre_processor.hpp"
#include "log.hpp"
int main(int argc, char const* argv[]) {
std::string logger_name = (argc > 1) ? std::string(argv[1]) : "genre processor";
Log log(logger_name, true, true);
if (argc < 1) {
log.error("Genre name arg missing.");
exit(EXIT_FAILURE);
}
std::string genre_name(argv[1]);
try {
GenreProcessor processor(genre_name, log);
processor.run();
}
catch (const std::exception& e) {
log.error(e.what());
exit(EXIT_FAILURE);
}
return 0;
}

Xet Storage Details

Size:
603 Bytes
·
Xet hash:
d03088f9b5997209047d3049ea7172ea1b1f0279e2405e49ba5772fcc703b219

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.