MCPcopy
hub / github.com/HunxByts/GhostTrack / execute_option

Function execute_option

GhostTR.py:230–242  ·  view source on GitHub ↗
(opt)

Source from the content-addressed store, hash-verified

228
229
230def execute_option(opt):
231 try:
232 call_option(opt)
233 input(f'\n{Wh}[ {Gr}+ {Wh}] {Gr}Press enter to continue')
234 main()
235 except ValueError as e:
236 print(e)
237 time.sleep(2)
238 execute_option(opt)
239 except KeyboardInterrupt:
240 print(f'\n{Wh}[ {Re}! {Wh}] {Re}Exit')
241 time.sleep(2)
242 exit()
243
244
245def option_text():

Callers 1

mainFunction · 0.85

Calls 2

call_optionFunction · 0.85
mainFunction · 0.85

Tested by

no test coverage detected