MCPcopy
hub / github.com/tanelpoder/0xtools / exit

Method exit

lib/0xtools/argparse.py:2368–2371  ·  view source on GitHub ↗
(self, status=0, message=None)

Source from the content-addressed store, hash-verified

2366 # Exiting methods
2367 # ===============
2368 def exit(self, status=0, message=None):
2369 if message:
2370 self._print_message(message, _sys.stderr)
2371 _sys.exit(status)
2372
2373 def error(self, message):
2374 """error(message: string)

Callers 12

errorMethod · 0.95
__call__Method · 0.80
__call__Method · 0.80
test_tui_simple.pyFile · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

_print_messageMethod · 0.95

Tested by 2

mainFunction · 0.64
mainFunction · 0.64