List registered commands and listeners
Hi, i love working with sapphire it's amazing.
I'm just wondering is there a way to obtain some sort of array or map of registered/loaded commands and listeners ?
Appreciate sincerely all the answers
Solution:Jump to solution
There are several ways to get the list of all commands, depending on the context of your current code. The following are the different methods:
Inside another command:
...
3 Replies
some example what i would like to achieve
Solution
There are several ways to get the list of all commands, depending on the context of your current code. The following are the different methods:
Inside another command:
Inside another piece:
Anywhere else:
That's exactly what i was looking for thank you so much