def delete(  # type: ignore
    name: str, cluster: str | None
) -> None:
    """Delete a deployment on BentoCloud."""
    bentoml.deployment.delete(name, cluster=cluster)
    rich.print(f"Deployment [green]'{name}'[/] deleted successfully.")
Delete a deployment on BentoCloud.
src/bentoml_cli/deployment.py