Getting towards a real rest cli client.