Disable rpc node completion for get

Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/192
Change-Id: Ib48cf042935bae974a846f0a7c7af3cc61f3e53e
diff --git a/src/path_parser.hpp b/src/path_parser.hpp
index 65e5140..b3e9418 100644
--- a/src/path_parser.hpp
+++ b/src/path_parser.hpp
@@ -15,6 +15,7 @@
 namespace x3 = boost::spirit::x3;
 
 x3::rule<cdPath_class, dataPath_> const cdPath = "cdPath";
+x3::rule<getPath_class, decltype(get_::m_path)> const getPath = "getPath";
 x3::rule<rpcPath_class, dataPath_> const rpcPath = "rpcPath";
 x3::rule<presenceContainerPath_class, dataPath_> const presenceContainerPath = "presenceContainerPath";
 x3::rule<listInstancePath_class, dataPath_> const listInstancePath = "listInstancePath";
@@ -454,6 +455,11 @@
     return nodeType != yang::NodeTypes::Rpc && nodeType != yang::NodeTypes::Action;
 };
 
+auto const getPath_def =
+    PathParser<PathParserMode::DataPathListEnd, CompletionMode::Data>{noRpcOrAction} |
+    PathParser<PathParserMode::DataPath, CompletionMode::Data>{noRpcOrAction} |
+    (module >> "*");
+
 auto const cdPath_def =
     PathParser<PathParserMode::DataPath, CompletionMode::Data>{noRpcOrAction};
 
@@ -480,6 +486,7 @@
 BOOST_SPIRIT_DEFINE(key_identifier)
 BOOST_SPIRIT_DEFINE(listSuffix)
 BOOST_SPIRIT_DEFINE(cdPath)
+BOOST_SPIRIT_DEFINE(getPath)
 BOOST_SPIRIT_DEFINE(presenceContainerPath)
 BOOST_SPIRIT_DEFINE(listInstancePath)
 BOOST_SPIRIT_DEFINE(leafListElementPath)