Documentation ¶
Index ¶
- Constants
- func FillVariables(dirPath string, enableYamlParse bool) error
- func GetReservedVariables(enableYamlParse bool) map[string]interface{}
- func InputVariables(prompt yaml.MapSlice, enableYamlParse bool) map[string]interface{}
- func ReplaceInDir(dirPath string, variables map[string]interface{}) error
- type TmplYaml
Constants ¶
View Source
const TmplYamlName = "tmpl.yaml"
Variables ¶
This section is empty.
Functions ¶
func FillVariables ¶ added in v0.4.0
func GetReservedVariables ¶
func InputVariables ¶
func ReplaceInDir ¶
Types ¶
type TmplYaml ¶
type TmplYaml struct { // NOTE: yaml.MapSlice preserves the order of items // (from: https://stackoverflow.com/a/42109240/2885946) Variables yaml.MapSlice `yaml:variables` }
func ReadTemplYaml ¶
Click to show internal directories.
Click to hide internal directories.