Re: [Lldb-commits] [lldb] r335401 - Update cmdtemplate.py to use best pratices.

2018-06-22 Thread Jim Ingham via lldb-commits
> On Jun 22, 2018, at 5:20 PM, Jim Ingham wrote: > > This is very cool! > > Could we make a base class for lldb commands in the lldb module that provides > register_lldb_command? Then you wouldn't have to copy and paste this > boiler-plate in every command file. Now that you have a gener

[Lldb-commits] [lldb] r335401 - Update cmdtemplate.py to use best pratices.

2018-06-22 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Fri Jun 22 16:34:24 2018 New Revision: 335401 URL: http://llvm.org/viewvc/llvm-project?rev=335401&view=rev Log: Update cmdtemplate.py to use best pratices. Fixes include: - fix all lint errors - add code that will automatically register and LLDB command classes by detectin