add verbose and apikey support to cli