MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / standalone_completer

Function standalone_completer

tests/test_argparse_completer.py:37–38  ·  view source on GitHub ↗
(cli: cmd2.Cmd, text: str, line: str, begidx: int, endidx: int)

Source from the content-addressed store, hash-verified

35
36
37def standalone_completer(cli: cmd2.Cmd, text: str, line: str, begidx: int, endidx: int) -> Completions:
38 return cli.basic_complete(text, line, begidx, endidx, standalone_completions)
39
40
41class ArgparseCompleterTester(cmd2.Cmd):

Callers

nothing calls this directly

Calls 1

basic_completeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…