| 45 | using command_func_t = std::function<int(int, char**)>; |
| 46 | |
| 47 | void ShowVersion() { |
| 48 | std::cout << colmap::GetVersionInfo() << " (" << colmap::GetBuildInfo() |
| 49 | << ")\n"; |
| 50 | } |
| 51 | |
| 52 | void ShowHelp( |
| 53 | const std::vector<std::pair<std::string, command_func_t>>& commands) { |