for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/*
* Copyright (c) 2018 Includable.
* Created by Thomas Schoffelen.
*/
const API = require('../../util/API')
const output = require('../../output')
module.exports = function () {
API.checkSignedIn()
API.get('/communities').then(function (response) {
response.data.data.map(function (community) {
output.log(community.title + ' - ' + community.domain)
})
}