[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.
+That will make an LLDBOVParser which you will use for your
+option definition, and to fetch option values for the current invocation
----------------
bulbazord wrote:
```suggestion
option definition and fetch option values for the current invocation
```
https://github.com/llvm/llvm-project/pull/70734
More information about the lldb-commits
mailing list