import inspect
from typing import Dict
from typing import Any


def _build_bool_option(parameter: inspect.Parameter) -> Dict[str, Any]:
    """Provide the argparse options for a boolean option."""
    params = {"action": "store_false" if parameter.default is True else "store_true"}

    return params