[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 1 17:21:05 PDT 2023


================
@@ -0,0 +1,315 @@
+"""
+This module implements a couple of utility classes to make writing
+lldb parsed commands more Pythonic.
+The way to use it is to make a class for you command that inherits from ParsedCommandBase.
----------------
bulbazord wrote:

```suggestion
The way to use it is to make a class for your command that inherits from ParsedCommandBase.
```

https://github.com/llvm/llvm-project/pull/70734


More information about the lldb-commits mailing list