[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
Sat Feb 10 14:52:21 PST 2024
================
@@ -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:
I don't remember why I suggested this, it looks pretty clear to me after another pass.
https://github.com/llvm/llvm-project/pull/70734
More information about the lldb-commits
mailing list