MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / complete_durian

Method complete_durian

tests/test_commandset.py:77–78  ·  view source on GitHub ↗
(self, text: str, line: str, begidx: int, endidx: int)

Source from the content-addressed store, hash-verified

75 self._cmd.last_result = {"args": args}
76
77 def complete_durian(self, text: str, line: str, begidx: int, endidx: int) -> list[str]:
78 return self._cmd.basic_complete(text, line, begidx, endidx, ["stinks", "smells", "disgusting"])
79
80 elderberry_parser = cmd2.Cmd2ArgumentParser()
81 elderberry_parser.add_argument("arg1")

Callers

nothing calls this directly

Calls 1

basic_completeMethod · 0.80

Tested by

no test coverage detected