1
0
Files
libcmo21/Ballance/BMapInspector/BMapInspector.cpp

53 lines
1.3 KiB
C++

#include "Utils.hpp"
#include "Cli.hpp"
#include "Reporter.hpp"
#include "Ruleset.hpp"
#include <VTAll.hpp>
#include <yycc.hpp>
#include <yycc/carton/termcolor.hpp>
#include <yycc/string/op.hpp>
#include <yycc/patch/stream.hpp>
#include <iostream>
using namespace yycc::patch::stream;
namespace strop = yycc::string::op;
namespace termcolor = yycc::carton::termcolor;
static bool ProcessCli() {
}
static void LoadVirtools() {
}
static void CheckRules() {
}
int main(int argc, char *argv[]) {
// Show splash
std::cout << termcolor::colored(u8"" BMAPINSP_NAME, termcolor::Color::LightYellow)
<< " (based on LibCmo " LIBCMO_VER_STR ") built at " __DATE__ " " __TIME__ << std::endl
<< u8"" BMAPINSP_DESC << std::endl
<< std::endl;
// Create reporter
BMapInspector::Reporter reporter;
// Get rule collection
BMapInspector::Ruleset::RuleCollection rule_collection;
// Show rule infos
std::cout << strop::printf(u8"Total %" PRIuSIZET " rule(s) are loaded.", rule_collection.GetRuleCount()) << std::endl
<< u8"Check may take few minutes. Please do not close this console..." << std::endl
<< std::endl;
// Show report conclusion
reporter.PrintConclusion();
// Print report in detail
reporter.PrintReport();
return 0;
}