def url(request):
    """
    Return URL specified in command line.

      * if `--url` parameter is set use it
      * raise error if url is not set
    """
    if request.config.option.url:
        return request.config.option.url

    raise ValueError(
        "Please provide URL in format https://site-domain/site-path to test"
    )