Return a string proving param injection worked.
(*, extra_arg: str | None = None)
| 81 | # Simple async / sync command callables to run |
| 82 | # --------------------------------------------------------------------------- # |
| 83 | async def dummy_async_command(*, extra_arg: str | None = None): |
| 84 | """Return a string proving param injection worked.""" |
| 85 | # Commands now use context manager, no tool_manager parameter |
| 86 | from mcp_cli.context import get_context |
| 87 | |
| 88 | get_context() |
| 89 | suffix = "" if extra_arg is None else f"-{extra_arg}" |
| 90 | return f"ok{suffix}" |
| 91 | |
| 92 | |
| 93 | def dummy_sync_command(*, extra_arg: str | None = None): |
nothing calls this directly
no test coverage detected