MCPcopy Create free account
hub / github.com/idank/explainshell / find_option

Method find_option

explainshell/models.py:149–153  ·  view source on GitHub ↗
(self, flag)

Source from the content-addressed store, hash-verified

147 return merged
148
149 def find_option(self, flag):
150 for o_tmp in self.options:
151 for o in o_tmp.opts:
152 if o == flag:
153 return o_tmp
154
155 def to_store(self):
156 meta = self.extraction_meta or ExtractionMeta()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected