Documentation
¶
Index ¶
- type FeaturePrompt
- type HomebrewConfig
- func (h *HomebrewConfig) GetName() string
- func (h *HomebrewConfig) GetPath() string
- func (h *HomebrewConfig) HasTemplateDir() bool
- func (h *HomebrewConfig) IsDefaultSelected() bool
- func (h *HomebrewConfig) RunPrompt() error
- func (h *HomebrewConfig) UpdateTemplateOptions(options *gen.TemplateOptions) error
- type UserPrompt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeaturePrompt ¶
type HomebrewConfig ¶
type HomebrewConfig struct {
// contains filtered or unexported fields
}
func NewHomebrewConfig ¶
func NewHomebrewConfig(conf *config.Config) *HomebrewConfig
func (*HomebrewConfig) GetName ¶
func (h *HomebrewConfig) GetName() string
func (*HomebrewConfig) GetPath ¶
func (h *HomebrewConfig) GetPath() string
func (*HomebrewConfig) HasTemplateDir ¶
func (h *HomebrewConfig) HasTemplateDir() bool
func (*HomebrewConfig) IsDefaultSelected ¶
func (h *HomebrewConfig) IsDefaultSelected() bool
func (*HomebrewConfig) RunPrompt ¶
func (h *HomebrewConfig) RunPrompt() error
RunPrompt runs the homebrew config prompt and updates the config based on the user input
func (*HomebrewConfig) UpdateTemplateOptions ¶
func (h *HomebrewConfig) UpdateTemplateOptions(options *gen.TemplateOptions) error
type UserPrompt ¶
type UserPrompt struct {
AvailableFeatures map[string]FeaturePrompt
// contains filtered or unexported fields
}
func NewUserPrompt ¶
func NewUserPrompt(conf *config.Config) *UserPrompt
func (*UserPrompt) Run ¶
func (p *UserPrompt) Run() (gen.TemplateOptions, error)
Click to show internal directories.
Click to hide internal directories.