libcli 1.8.5 reviewDownload
libcli is a Cisco-like telnet commandline library. It provides a shared library for including a Cisco-like command-line interface
libcli is a Cisco-like telnet commandline library.
It provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
libcli provides support for using the arrow keys for command-line editing. Up and Down arrows will cycle through the command history, and Left & Right can be used for editing the current command line.
libcli also works out the shortest way of entering a command, so if you have a command "show users grep foobar" defined, you can enter "sh us g foobar" if that is the shortest possible way of doing it.
This will install libcli.so into /usr/local/lib. If you want to change the location, edit Makefile.
There is a test application built called clitest. Run this and telnet to port 8000.
By default, a single username and password combination is enabled.
libcli 1.8.5 search tags