11 lines · python
1import lldb2 3 4def some_command_here(debugger, command, result, d):5 if command == "a":6 print("Victory is mine", file=result)7 return True8 else:9 print("Sadness for all", file=result)10 return False11