I want to add command line interface support to a server program.
So each time I want to check server's status, I can telnet to the server's control port, and input command to check the server's status.
Is there any open source library implements such functionality so I need not write it from scratch?
Further more, if the library can provides more features such like cisco's command line interface (tab key hint, command query, vi mode, or even symbol based command), that's would be great.