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