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

Method _make_completer

tests/interactive/test_shell_coverage.py:24–27  ·  view source on GitHub ↗
(self, commands=None)

Source from the content-addressed store, hash-verified

22
23class TestSlashCompleter:
24 def _make_completer(self, commands=None):
25 from mcp_cli.interactive.shell import SlashCompleter
26
27 return SlashCompleter(commands or ["help", "tools", "servers", "quit", "exit"])
28
29 def test_completer_init(self):
30 completer = self._make_completer()

Calls 1

SlashCompleterClass · 0.90

Tested by

no test coverage detected