Add the describe command
...which should, hopefully, show useful information about a particular
YANG node, such as the YANG-level description, the units, type info,
etc.
Change-Id: Id430ae58fe353124e5132fa5a69378e98932ebce
diff --git a/src/interpreter.hpp b/src/interpreter.hpp
index 7af5983..a05183f 100644
--- a/src/interpreter.hpp
+++ b/src/interpreter.hpp
@@ -22,6 +22,7 @@
void operator()(const create_&) const;
void operator()(const delete_&) const;
void operator()(const ls_&) const;
+ void operator()(const describe_&) const;
void operator()(const discard_&) const;
void operator()(const help_&) const;
@@ -29,6 +30,8 @@
template <typename T>
std::string absolutePathFromCommand(const T& command) const;
std::string absolutePathFromCommand(const get_& command) const;
+ std::string absolutePathFromCommand(const describe_& describe) const;
+ std::string buildTypeInfo(const std::string& path) const;
Parser& m_parser;
DatastoreAccess& m_datastore;