def METHOD_NAME(ctx: click.Context, **kwargs: Any):
    """Xsdata command line interface."""
    logger.setLevel(logging.INFO)
    formatwarning_orig = warnings.formatwarning
    logger.info(
        "========= xsdata v%s / Python %s / Platform %s =========\n",
        __version__,
        platform.python_version(),
        sys.platform,
    )
    def format_warning(message: Any, category: Any, *args: Any) -> str:
        return (
            f"{category.__name__}: {message}" if category else message
        )  # pragma: no cover
    def format_warning_restore():
        warnings.formatwarning = formatwarning_orig
    warnings.formatwarning = format_warning  # type: ignore
    ctx.call_on_close(format_warning_restore)