Command API question

Hi,

Some time ago I was thinking about a plugin able to record the commands
executed by the user (to make stats about that), but the openapi
(specifically, the CommandEvent class) doesn't have a method to identify the
command that is being executed, it only has a method to access the
desciption of the command, but i didn't find out a programatically way to
extract the command from the description.

does someone know how to obtain the command that is being executed?

Thanks,
Rodolfo Toledo.


Please sign in to leave a comment.