docs: function getConfig(dir) {
    dir = path.resolve(dir);
  
    if (dir.indexOf('.', 2) > 0) {
      // remove extension
      dir = dir.substring(0, dir.indexOf('.', 2));
    }
  
    if (files.isDirectory(dir)) {
      // default to bootstrap.yaml or bootstrap.yml
      dir = path.join(dir, 'bootstrap');
    }
  
    return files.getYaml(dir);
  }