def cli(box, endpoint, ip): """ Open an endpoint in your default browser """ url = box.browse(endpoint, ip) click.secho('Opening %s in your browser...' % (url), fg='green') click.launch(url)