jingham added a comment.

Could you use `help --scripting` (`help -s`) or maybe `help --api`?  Then you 
could also do `apropos -s` if you ended up adding an apropos feature in the 
script interface, which would be consistent and fairly discoverable.  Then for 
folks that used it all the time they could alias it to something shorter 
(though `h -s` isn't really so bad...)

In D120292#3343566 <https://reviews.llvm.org/D120292#3343566>, @kastiglione 
wrote:

> It's too bad `script` doesn't have subcommands, because that might have been 
> a natural place for such a command. Are there any commands you think this 
> could be added? Or would this have to be a new top level command? A new 
> top-level command seems unfortunate.
>
> Speaking of apropos, this tool could have an apropos-like mode where it also 
> searches docstrings in addition to method/property names. I am not sure how 
> useful that would be, but it's worth mentioning.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120292/new/

https://reviews.llvm.org/D120292

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to