rest-like CLI calls