commit | 43908fb88fbfdf04044b09465d95e5dc32431cc9 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu Jan 02 19:05:51 2020 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Sat Feb 01 01:56:26 2020 +0100 |
tree | f2e8478786f225682ec37821732b17b9a79c9466 | |
parent | ab612e9dbdab84ab4afe11486cab927d39b398f2 [diff] [blame] |
Integrate DataQuery Change-Id: I439374afe485baf08a4d5a1a02fd70d908bec9e1
diff --git a/src/main.cpp b/src/main.cpp index d1b45e0..fd064ba 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -36,7 +36,8 @@ std::cout << "Welcome to netconf-cli" << std::endl; SysrepoAccess datastore("netconf-cli"); - Parser parser(datastore.schema()); + auto dataQuery = std::make_shared<DataQuery>(datastore); + Parser parser(datastore.schema(), dataQuery); using replxx::Replxx;