mothership-ec / cog

Cog
Other
2 stars 3 forks source link

Deprecate/remove service:list command #472

Closed thomasjthomasj closed 8 years ago

thomasjthomasj commented 8 years ago

This PR removes the services:list command from the command list, and deprecates the class. The reason for this is that it was too unstable as it would load every single service, but some services might not have been registered yet as they are only registered in events. Also if any services error for any other reason, it breaks. The command itself is not actually very useful so I don't think it's a great loss. Resolves https://github.com/mothership-ec/cog/issues/328

It also removes a couple unused services for classes that don't exist.