Program Listing for File Cli.h
↰ Return to documentation for file (include/lanelet2_validation/Cli.h)
#pragma once
#include "lanelet2_validation/Validation.h"
namespace lanelet {
namespace validation {
struct CommandLineConfig {
ValidationConfig validationConfig;
std::string mapFile;
bool print{false};
bool help{false};
};
CommandLineConfig parseCommandLine(int argc, const char* argv[]);
void printAllIssues(const std::vector<DetectedIssues>& issues);
int runFromConfig(const CommandLineConfig& config);
} // namespace validation
} // namespace lanelet