senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.96k stars 311 forks source link

Check all commands for one specific role #874

Closed NickTaylor98 closed 3 years ago

NickTaylor98 commented 3 years ago

Hi! Very often I have a problem with not matching pattern when I use seneca.act. Is there any method how to check all accessible commands for one specific role?

rjrodger commented 3 years ago

Yes indeed! seneca.list - see https://senecajs.org/api/#method-list