from typing import Callable
import click


def base_vwq_url_option(command: Callable[..., None]) -> Callable[..., None]:
    """
    An option decorator for choosing the base VWQ URL.
    """
    click_option_function = click.option(
        '--base-vwq-url',
        type=click.STRING,
        default='https://cloudreco.vuforia.com',
        help='The base URL for the VWQ API.',
        show_default=True,
    )

    return click_option_function(command)