for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from lib import action
class ConsulListServicesAction(action.ConsulBaseAction):
def run(self):
index, services = self.consul.catalog.services()
return services