Adding CLI for RESTEndpoints