--- a/src/relpipe-tr-validator.cpp Sun Dec 02 18:25:43 2018 +0100
+++ b/src/relpipe-tr-validator.cpp Sun Dec 02 20:17:46 2018 +0100
@@ -31,8 +31,11 @@
#include <relpipe/writer/Factory.h>
#include <relpipe/writer/TypeId.h>
+#include "PassthroughHandler.h"
+
using namespace relpipe::cli;
using namespace relpipe::reader;
+using namespace relpipe::tr::validator;
int main(int argc, char**argv) {
CLI cli(argc, argv);
@@ -41,8 +44,8 @@
try {
std::shared_ptr<RelationalReader> reader(Factory::create(std::cin));
- //TabularPrefetchingHandler handler(std::cout);
- //reader->addHandler(&handler);
+ PassthroughHandler handler(std::cout);
+ reader->addHandler(&handler);
reader->process();
resultCode = CLI::EXIT_CODE_SUCCESS;