Skip to content

Commit

Permalink
Deleted testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaszanas committed May 26, 2021
1 parent f13a15f commit d95ac42
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/SC2MapLocaleExtractor/SC2MapLocaleExtractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,17 @@ int main(int argc, char** argv)

logger->info("Initialized logger!");

//if(argc < 3) {
// logger->warn("You have not provided required arguments!");
// logger->warn("Usage: {} <input_directory> <output_filepath_with_filename>.json", argv[0]);
// std::cout << "Press ENTER to continue...";
// std::getchar();
// return 1;
//}

std::string directoryString = "D:/Projects/GolangProjects/src/GoSC2Science/map_translator/MAPS";
std::string outputFile = "output.json";
if(argc < 3) {
logger->warn("You have not provided required arguments!");
logger->warn("Usage: {} <input_directory> <output_filepath_with_filename>.json", argv[0]);
std::cout << "Press ENTER to continue...";
std::getchar();
return 1;
}

//std::string directoryString = argv[1];
std::string directoryString = argv[1];
logger->info("directoryString was specified as: {}", directoryString);
//std::string outputFile = argv[2];
std::string outputFile = argv[2];
logger->info("outputFile was specified as: {}", outputFile);

std::optional<nlohmann::json> maybe_mapping = extractors::locale_extraction_pipeline(directoryString);
Expand Down

0 comments on commit d95ac42

Please sign in to comment.