File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
145145def _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" )
You can’t perform that action at this time.
0 commit comments