llvm-project/lldb/test/API/commands/command/script_alias/tcsacmd.py

11 lines
233 B
Python

import lldb
def some_command_here(debugger, command, result, d):
if command == "a":
print("Victory is mine", file=result)
return True
else:
print("Sadness for all", file=result)
return False