MCPcopy
hub / github.com/pallets/click / get_completion_args

Method get_completion_args

src/click/shell_completion.py:285–290  ·  view source on GitHub ↗

Use the env vars defined by the shell script to return a tuple of ``args, incomplete``. This must be implemented by subclasses.

(self)

Source from the content-addressed store, hash-verified

283 return self.source_template % self.source_vars()
284
285 def get_completion_args(self) -> tuple[list[str], str]:
286 """Use the env vars defined by the shell script to return a
287 tuple of ``args, incomplete``. This must be implemented by
288 subclasses.
289 """
290 raise NotImplementedError
291
292 def get_completions(
293 self, args: list[str], incomplete: str

Callers 1

completeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected