MCPcopy Create free account
hub / github.com/pyinvoke/invoke / print_task_names

Function print_task_names

invoke/completion/complete.py:97–103  ·  view source on GitHub ↗
(collection: "Collection")

Source from the content-addressed store, hash-verified

95
96
97def print_task_names(collection: "Collection") -> None:
98 for name in sorted(collection.task_names, key=task_name_sort_key):
99 print(name)
100 # Just stick aliases after the thing they're aliased to. Sorting isn't
101 # so important that it's worth bending over backwards here.
102 for alias in collection.task_names[name]:
103 print(alias)
104
105
106def print_completion_script(shell: str, names: List[str]) -> None:

Callers 1

completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…