{"repo":"daniele77/cli","free":true,"listed":false,"github":"https://github.com/daniele77/cli","clone":"git clone https://github.com/daniele77/cli.git","description":"A library for interactive command line interfaces in modern C++","language":"C++","stars":1358,"topics":["cli","header-only","interactive","parser","ui-library"],"license":"BSL-1.0","category":"cli-tools","readme_excerpt":":heart: Sponsor cli A cross-platform header only C++14 library for interactive command line interfaces (Cisco style) Features Header only Cross-platform (linux and windows) Menus and submenus Remote sessions (telnet) Persistent history (navigation with arrow keys) Autocompletion (with TAB key) Async interface Colors How to get CLI library From GitHub Using Vcpkg Using Conan Dependencies The library has no dependencies if you don't need remote sessions. The library depends on asio (either the standalone version or the boost version = 1.66) only to provide telnet server (i.e., remote sessions). Installation The library is header-only: it consists entirely of header files containing templates and inline functions, and requires no separately-compiled library binaries or special treatment when linking. Extract the archive wherever you want. Now you must only remember to specify the cli (and optionally asio or boost) paths when compiling your source code. If you fancy it, a Cmake script is provided. To install you can use: mkdir build && cd build cmake .. sudo make install or, if you want to specify the installation path: mkdir build && cd build cmake .. -DCMAKE INSTALL PREFIX:PATH= make install Alternatively, you can use CMake's FetchContent module to include CLI library in your project directly. Add something like this in your CMakeLists.txt file: include(FetchContent) FetchContent Declare( cli GIT REPOSITORY https://github.com/daniele77/cli.git GIT TAG v2.1.0 ) FetchContent Make","default_branch":null,"files":null,"tree":[],"storefront":"/r/daniele77","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/daniele77/cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}