Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ParsedYaml ¶
type ParsedYaml map[string][]UserPrompt
type PromptOption ¶
type UserPrompt ¶
type UserPrompt struct {
Section string
Env string `yaml:"env"`
Key string `yaml:"key"`
Type string `yaml:"type"`
Multiple bool `yaml:"multiple"`
Options []PromptOption `yaml:"options,omitempty"`
Default any `yaml:"default,omitempty"`
Help string `yaml:"help"`
Optional bool `yaml:"optional,omitempty"`
}
func GatherUserPrompts ¶
func GatherUserPrompts(rootDir string) ([]UserPrompt, []string, error)
Click to show internal directories.
Click to hide internal directories.