commit | 5c4f8a3a97d3dcabd58cf976601f7b32ebaa1983 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Tue Aug 24 22:57:41 2021 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Wed Aug 25 23:35:08 2021 +0200 |
tree | 679d5b39c327381e90304b38170eba36a4678293 | |
parent | e21d160c68f6ae8a6500b3831dde0f3f42ef86a8 [diff] |
Catch exceptions when completing If an exception is thrown inside of the completion callback, the program just exits with no error message. This is because replxx' .input method is wrapped in a big try-catch block. replxx just discards the exception. (I would think the reason is that replxx doesn't want the terminal to be messed up because of an uncaught exception) The new code catches exceptions thrown by .completeCommand and prints out the error message. Change-Id: Ie6bd7800449f48ac455e6240aedbca9d08abcb05
This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.
For building, one needs:
Use an exact commit of any dependencies as specified in submodules/dependencies/*
.
The build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install
.
Issue reporting and feature requests are welcome via Taiga.io.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.
Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.