Libcli 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.
Reworked internals of parsing help messages slightly on how 'helpstring' gets broken apart.
Added new method to add 'help' text to an existing optarg. Syntax is slightly different than existing API calls, but did not want to alter cli_register_optarg() api to change return value.
Reworked internals of parsing help messages slightly on how 'helpstring' gets broken apart. Added new method to add 'help' text to an existing optarg. Syntax is slightly different than existing API calls, but did not want to alter cli_register_optarg() api to change return value.