MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / fail

Function fail

autorecon/io.py:92–96  ·  view source on GitHub ↗
(*args, sep=' ', end='\n', file=sys.stderr, **kvargs)

Source from the content-addressed store, hash-verified

90 cprint(*args, color=Fore.RED, char='!', sep=sep, end=end, file=file, frame_index=2, **kvargs)
91
92def fail(*args, sep=' ', end='\n', file=sys.stderr, **kvargs):
93 if config['accessible']:
94 args = ('Failure:',) + args
95 cprint(*args, color=Fore.RED, char='!', sep=sep, end=end, file=file, frame_index=2, **kvargs)
96 exit(-1)
97
98class CommandStreamReader(object):
99

Callers 4

runFunction · 0.90
add_choice_optionMethod · 0.90
add_patternMethod · 0.90
registerMethod · 0.90

Calls 1

cprintFunction · 0.85

Tested by

no test coverage detected