Add a command line interface to the server.