MCPcopy Create free account
hub / github.com/IBM/mcp-cli / _run

Method _run

tests/adapters/test_cli_adapter_coverage.py:340–342  ·  view source on GitHub ↗
(coro)

Source from the content-addressed store, hash-verified

338 callback = app.registered_commands[0].callback
339
340 def _run(coro):
341 coro.close()
342 return CommandResult(success=True, output=None)
343
344 with patch("asyncio.run", side_effect=_run):
345 with patch("mcp_cli.adapters.cli.output") as mock_output:

Callers

nothing calls this directly

Calls 2

CommandResultClass · 0.90
closeMethod · 0.45

Tested by

no test coverage detected