Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BinaryFileExt = []string{}/* 244 elements not displayed */
BinaryFileExt is a list of common binary files. Usually they aren't shipped with the template but could lead to a crash. Source: https://github.com/sindresorhus/binary-extensions/blob/master/binary-extensions.json
View Source
var ExcludedDirs = []string{
"node_modules",
"bower_components",
"jspm_packages",
"dist",
"build",
"log",
"logs",
"bin",
"lib",
"typings",
}
ExcludedDirs is a list of common directorys which are used store application files Usually they aren't shipped with the template but could lead to a crash.
Functions ¶
Types ¶
type ProjectData ¶
ProjectData contains all project data
type Survey ¶ added in v0.0.14
type Survey struct {
Questions []Question `json:"questions"`
}
func ReadSurveyConfig ¶ added in v0.0.14
ReadSurveyConfig reads the config and return a new survey
type Templating ¶
type Templating struct { Templates []config.Template Variables map[string]string // contains filtered or unexported fields }
Templating command
func (*Templating) GetQuestions ¶ added in v0.0.14
func (t *Templating) GetQuestions() []*survey.Question
GetQuestions return all required prompts
Click to show internal directories.
Click to hide internal directories.