Add a real path computation

Many commands need a path as an argument. This path can be absolute or
relative. The key is to understand where the command will operate. For
example, when using `cd`, we need to know where we'll end up after
running the command.  And with `set`, we want to know what will be
modified. This change creates a general function called realPath() that
takes the current working directory (cwd) and the given path as
arguments, and then gives back the final path.  Doing this makes the
code easier to read and more compact because we'll use it several times
in the next changes.

Change-Id: Id940062525b64eed1de438407ff8ae2cfbcdde6d
3 files changed
tree: bef28072f0feed05079b9f0b20817bf7c2727e8d
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. README.md
  8. ci/
  9. cmake/
  10. docs/
  11. src/
  12. tests/
README.md

Console interface to NETCONF servers

License Gerrit Zuul CI taiga.io

This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, work as a standalone YANG data editor, or talk to sysrepo locally.

Installation

For building, one needs:

At times the devel branch of libyang, sysrepo, libnetconf2 and Netopeer2 might be required due to fresh bugfixes and behavior changes.

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.

Bug Reporting

Issue reporting and feature requests are welcome via Taiga.io.

Development

We are using Gerrit for patch submission, code review and Continuous Integration (CI). A quick introduction is recommended for first-time Gerrit users. Choose CESNET - Sign in with GitHub for login. Development roadmap and planning happens over Taiga.io.

Credits

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.