in index.js [26:37]
function getSupportedKinds() {
const kinds = [];
const basePath = path.resolve(__dirname, "src/kinds");
fs.readdirSync(basePath).forEach(function(entry) {
const p = path.resolve(basePath, entry);
if (fs.statSync(p).isDirectory()) {
const kind = require(path.resolve(p, entry));
kinds.push(`${entry}: ${kind.description}`);
}
});
return kinds;
}