MCPcopy Index your code
hub / github.com/USBToolBox/tool / start

Method start

Scripts/utils.py:190–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

188 return self.options[keys.index(selected.upper())][3]() if self.options[keys.index(selected.upper())][3] else None
189
190 def start(self):
191 while True:
192 self.head()
193
194 if callable(self.in_between):
195 self.in_between()
196 print()
197 elif self.in_between:
198 for i in self.in_between:
199 print(i)
200 print()
201
202 self.print_options()
203
204 result = self.select()
205
206 if result is self.EXIT_MENU:
207 return self.EXIT_MENU
208 elif not self.loop:
209 return result
210
211
212class TUIOnlyPrint:

Callers 8

build_kextMethod · 0.95
change_settingsMethod · 0.95
monuMethod · 0.95
print_historicalMethod · 0.45
print_typesMethod · 0.45
select_portsMethod · 0.45
print_errorsMethod · 0.45
validate_selectionsMethod · 0.45

Calls 3

headMethod · 0.95
print_optionsMethod · 0.95
selectMethod · 0.95

Tested by

no test coverage detected