Main: Invoke parser and print out results

This commit is contained in:
2025-01-07 14:14:57 -04:00
parent 54de145b2d
commit 4f224003fd
+8 -1
View File
@@ -26,12 +26,19 @@ try {
} }
options.dumpOptions(); options.dumpOptions();
DeviceManager::getInstance().handleDeviceSpecifiers(options); DeviceManager::getInstance().collateAllDeviceSpecs(options);
DeviceManager::getInstance().parseAllDeviceSpecs();
std::cout << DeviceManager::printDeviceSpecs() << std::endl;
}
catch (const std::exception& e) {
std::cerr << "Exception occurred: " << e.what() << std::endl;
return EXIT_FAILURE;
} }
catch (...) { catch (...) {
std::cerr << "Unknown exception occurred" << std::endl; std::cerr << "Unknown exception occurred" << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }
std::cout << "Exiting normally" << std::endl;
return 0; return 0;
} }