Closed pfrazee closed 10 years ago
hmm... what about make the auth hard wired (not a plugin) and then call the actual plugins.
also, we could have the main export create something without any plugins activated yet.
Went ahead and made a PR. Take a look and tell me what you think
Addressed as a compromise: plugins now also export their APIs
Scuttlebot is meant to be imported into other projects, so it needs to be customizable. The plugins rely on internal events to coordinate, which I'd rather we exposed as an external API. Applications which import scuttlebot can then hook into the events and coordinate the plugins' APIs themselves.
For instance: