commit | 7160a13d6f08e24fe413c91fb261e2300d19f2b4 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Fri Apr 03 02:11:01 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Wed Apr 15 20:20:23 2020 +0200 |
tree | ce3171cf9a49ee0f9f90b663ded2d61a7de9d01f | |
parent | 74fbab8b3f9047384264377be8fc6d5133704af3 [diff] [blame] |
Add copy command Change-Id: I0a88f7fa9a096022dd95e8af8854f980ca34f043
diff --git a/src/interpreter.cpp b/src/interpreter.cpp index ca227be..1cfef74 100644 --- a/src/interpreter.cpp +++ b/src/interpreter.cpp
@@ -80,6 +80,11 @@ std::cout << it << std::endl; } +void Interpreter::operator()(const copy_& copy) const +{ + m_datastore.copyConfig(copy.m_source, copy.m_destination); +} + std::string Interpreter::buildTypeInfo(const std::string& path) const { std::ostringstream ss;