Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/deploydiff/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def mcp():
try:
from click_to_mcp import serve_stdio
except ImportError:
typer.echo("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp", err=True)
raise typer.Exit(code=1)
click.echo("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp", err=True)
raise click.Exit(code=1) from None
serve_stdio(main, name="deploydiff")


Expand Down Expand Up @@ -144,8 +144,8 @@ def _load_plan(

def _render_costs(estimates: list[CostEstimate], plan: DeployPlan, console: Console) -> None:
"""Render cost estimates to the console."""
from rich.table import Table
from rich import box
from rich.table import Table

table = Table(title="Cost Impact Estimate", box=box.ROUNDED, show_header=True)
table.add_column("Resource", style="bold")
Expand Down
Loading