Added respondToCliRequest() method