2025-01-04 13:21:33 -04:00
|
|
|
#include <iostream>
|
|
|
|
|
#include <exception>
|
2024-09-04 14:08:50 +10:00
|
|
|
#include <mind.h>
|
|
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
|
{
|
2025-01-04 11:36:50 -04:00
|
|
|
hk::Mind mind;
|
2024-09-05 18:20:33 +10:00
|
|
|
|
2025-01-04 13:21:33 -04:00
|
|
|
try {
|
|
|
|
|
std::cout <<PACKAGE_NAME <<" " <<PACKAGE_VERSION <<std::endl;
|
|
|
|
|
}
|
|
|
|
|
catch (const std::exception& e) {
|
|
|
|
|
std::cerr << "Exception occurred: " <<e.what() <<std::endl;
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
catch (...) {
|
|
|
|
|
std::cerr << "Unknown exception occurred" <<std::endl;
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-04 14:08:50 +10:00
|
|
|
return 0;
|
|
|
|
|
}
|