add the command line client for test