Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileConditions ¶
type FileConditions struct {
Condition string `json:"condition"`
Files []string `json:"files"`
WorkingDirectory string `json:"workingDirectory"`
Parse ParseOptions `json:"parse"`
}
type ParseOptions ¶ added in v0.0.14
type Prompt ¶
type PromptFile ¶
type PromptFile struct {
Prompts []Prompt `json:"prompts"`
Files []FileConditions `json:"files"`
Commands Commands `json:"commands"`
}
func (*PromptFile) RunPrompts ¶
func (promptFile *PromptFile) RunPrompts() (*Prompts, error)
type Prompts ¶
type Prompts struct {
Prompts []Prompt
Answers map[string]interface{}
Files []FileConditions
Commands Commands
}
func (*Prompts) RunPostCommands ¶ added in v0.0.19
func (*Prompts) RunPreCommands ¶ added in v0.0.19
Click to show internal directories.
Click to hide internal directories.