Skip to content

Commit 7570f3e

Browse files
2 parents 00ec654 + bc6f9a4 commit 7570f3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/deploydiff/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def mcp():
112112
try:
113113
from click_to_mcp import serve_stdio
114114
except ImportError:
115-
typer.echo("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp", err=True)
116-
raise typer.Exit(code=1)
115+
print("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp")
116+
raise SystemExit(1) from None
117117
serve_stdio(main, name="deploydiff")
118118

119119

@@ -144,8 +144,8 @@ def _load_plan(
144144

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

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

0 commit comments

Comments
 (0)