MCPcopy Index your code
hub / github.com/pyinvoke/invoke / names_for

Method names_for

invoke/parser/context.py:176–178  ·  view source on GitHub ↗
(self, flag: str)

Source from the content-addressed store, hash-verified

174 return ret
175
176 def names_for(self, flag: str) -> List[str]:
177 # TODO: should probably be a method on Lexicon/AliasDict
178 return list(set([flag] + self.flags.aliases_of(flag)))
179
180 def help_for(self, flag: str) -> Tuple[str, str]:
181 """

Callers 2

help_forMethod · 0.95
flag_namesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected