Documentation ¶
Index ¶
- func CreateProjectFromConfigDirAnswerFile(configFilePath string) (projectData, error)
- type ProjectList
- func (p *ProjectList) GetAll() []map[string]interface{}
- func (p *ProjectList) GetIndex(index_0based int) (map[string]interface{}, error)
- func (p *ProjectList) Length() int
- func (p *ProjectList) PrintTree(startMessage string)
- func (p *ProjectList) Prompt(message string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProjectList ¶
type ProjectList struct {
// contains filtered or unexported fields
}
func CreateProjectListFromConfigDir ¶
func CreateProjectListFromConfigDir(configData config.Interface) (ProjectList, error)
this will populate the ProjectList with answers loaded from the filesystem
func CreateProjectListFromProvidedAnswers ¶
func CreateProjectListFromProvidedAnswers(configData config.Interface) (ProjectList, error)
this will populate the ProjectList with answers emedded in the config file (~/drawbridge.yaml)
func (*ProjectList) GetAll ¶
func (p *ProjectList) GetAll() []map[string]interface{}
func (*ProjectList) GetIndex ¶
func (p *ProjectList) GetIndex(index_0based int) (map[string]interface{}, error)
func (*ProjectList) Length ¶
func (p *ProjectList) Length() int
func (*ProjectList) PrintTree ¶
func (p *ProjectList) PrintTree(startMessage string)
Click to show internal directories.
Click to hide internal directories.