llvm/lldb/test/API/commands/command/script/cmd_file.lldb

command script add my_cmd
result.PutCString("My Command Result")
result.SetStatus(lldb.eReturnStatusSuccessFinishResult)
DONE