| 376 | } |
| 377 | |
| 378 | int main(int argc, char** argv) { |
| 379 | if (argc < 3) { |
| 380 | // Fake success for CI purposes. |
| 381 | return EXIT_SUCCESS; |
| 382 | } |
| 383 | |
| 384 | std::string uri = argv[1]; |
| 385 | std::string format_name = argv[2]; |
| 386 | std::string mode = argc > 3 ? argv[3] : "no_filter"; |
| 387 | |
| 388 | auto status = RunDatasetDocumentation(format_name, uri, mode); |
| 389 | if (!status.ok()) { |
| 390 | std::cerr << status.ToString() << std::endl; |
| 391 | return EXIT_FAILURE; |
| 392 | } |
| 393 | return EXIT_SUCCESS; |
| 394 | } |
nothing calls this directly
no test coverage detected