[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 3 16:59:34 PDT 2024
================
@@ -127,6 +130,157 @@ class CommandObjectScriptingRun : public CommandObjectRaw {
CommandOptions m_options;
};
+#pragma mark CommandObjectScriptingTemplateList
+
+#define LLDB_OPTIONS_scripting_template_list
+#include "CommandOptions.inc"
+
+class CommandObjectScriptingTemplateList : public CommandObjectParsed {
+public:
+ CommandObjectScriptingTemplateList(CommandInterpreter &interpreter)
+ : CommandObjectParsed(
+ interpreter, "scripting template list",
+ "List all the available scripting affordances templates. ",
----------------
JDevlieghere wrote:
`affordances templates/affordance templates`
https://github.com/llvm/llvm-project/pull/97273
More information about the lldb-commits
mailing list