c9 / architect

A simple yet powerful plugin system for large-scale node applications
MIT License
981 stars 129 forks source link

Service find function #20

Open mevers47 opened 11 years ago

mevers47 commented 11 years ago

It would be nice to have a search function for services. Cloud9 has a lot of plugins, and to better understand the abilities of each service I need to know which plugin defines the service.

mevers47 commented 11 years ago

I found a method of finding services

var app = architect.createApp(...);
app.services.hub.on('ready', function() {
    console.log(app.services);
});