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

Function dummy_sync_command

tests/cli/test_run_command.py:93–99  ·  view source on GitHub ↗
(*, extra_arg: str | None = None)

Source from the content-addressed store, hash-verified

91
92
93def dummy_sync_command(*, extra_arg: str | None = None):
94 # Commands now use context manager, no tool_manager parameter
95 from mcp_cli.context import get_context
96
97 get_context()
98 suffix = "" if extra_arg is None else f"-{extra_arg}"
99 return f"ok{suffix}"
100
101
102async def failing_async_command():

Callers

nothing calls this directly

Calls 1

get_contextFunction · 0.90

Tested by

no test coverage detected