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

12 lines
271 B
Python

from __future__ import print_function
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