func CreateProjectListFromConfigDir(configData config.Interface) (ProjectList, error) {
	projectList := ProjectList{
		projects:    []projectData{},
		groupByKeys: configData.GetStringSlice("options.ui_group_priority"),
	}
	projectList.hiddenKeys = append(projectList.hiddenKeys, configData.GetStringSlice("options.ui_question_hidden")...)
	projectList.hiddenKeys = append(projectList.hiddenKeys, configData.InternalQuestionKeys()...)
	answerFiles, err := answerFilesInConfigDir(configData.GetString("options.config_dir"))
	if err != nil {
		return projectList, err
	}
	for _, answerFilePath := range answerFiles {
		answerProjectData, err := CreateProjectFromConfigDirAnswerFile(answerFilePath)
		if err != nil {
			continue
		}
		projectList.projects = append(projectList.projects, answerProjectData)
	}
	return projectList, nil
}
this will populate the ProjectList with answers loaded from the filesystem
package project
import (
	"bytes"
	"github.com/analogj/drawbridge/pkg/config"
	"github.com/analogj/drawbridge/pkg/utils"
	"gopkg.in/yaml.v2"
	"log"
	"os"
	"path/filepath"
)