Documentation
¶
Index ¶
- type DocsFeature
- func (d *DocsFeature) GetName() string
- func (d *DocsFeature) GetPath() string
- func (d *DocsFeature) HasTemplateDir() bool
- func (d *DocsFeature) IsDefaultSelected() bool
- func (d *DocsFeature) IsEnabled() bool
- func (d *DocsFeature) RunPrompt() error
- func (d *DocsFeature) UpdateTemplateOptions(options *gen.TemplateOptions) error
- type FeaturePrompt
- type HomebrewFeature
- func (h *HomebrewFeature) GetName() string
- func (h *HomebrewFeature) GetPath() string
- func (h *HomebrewFeature) HasTemplateDir() bool
- func (h *HomebrewFeature) IsDefaultSelected() bool
- func (h *HomebrewFeature) RunPrompt() error
- func (h *HomebrewFeature) UpdateTemplateOptions(options *gen.TemplateOptions) error
- type UserPrompt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocsFeature ¶ added in v0.0.13
type DocsFeature struct {
// contains filtered or unexported fields
}
func NewDocsFeature ¶ added in v0.0.13
func NewDocsFeature(conf *config.Config) *DocsFeature
func (*DocsFeature) GetName ¶ added in v0.0.13
func (d *DocsFeature) GetName() string
func (*DocsFeature) GetPath ¶ added in v0.0.13
func (d *DocsFeature) GetPath() string
func (*DocsFeature) HasTemplateDir ¶ added in v0.0.13
func (d *DocsFeature) HasTemplateDir() bool
func (*DocsFeature) IsDefaultSelected ¶ added in v0.0.13
func (d *DocsFeature) IsDefaultSelected() bool
func (*DocsFeature) IsEnabled ¶ added in v0.0.13
func (d *DocsFeature) IsEnabled() bool
func (*DocsFeature) RunPrompt ¶ added in v0.0.13
func (d *DocsFeature) RunPrompt() error
func (*DocsFeature) UpdateTemplateOptions ¶ added in v0.0.13
func (d *DocsFeature) UpdateTemplateOptions(options *gen.TemplateOptions) error
type FeaturePrompt ¶
type HomebrewFeature ¶ added in v0.0.13
type HomebrewFeature struct {
// contains filtered or unexported fields
}
func NewHomebrewFeature ¶ added in v0.0.13
func NewHomebrewFeature(conf *config.Config) *HomebrewFeature
func (*HomebrewFeature) GetName ¶ added in v0.0.13
func (h *HomebrewFeature) GetName() string
func (*HomebrewFeature) GetPath ¶ added in v0.0.13
func (h *HomebrewFeature) GetPath() string
func (*HomebrewFeature) HasTemplateDir ¶ added in v0.0.13
func (h *HomebrewFeature) HasTemplateDir() bool
func (*HomebrewFeature) IsDefaultSelected ¶ added in v0.0.13
func (h *HomebrewFeature) IsDefaultSelected() bool
func (*HomebrewFeature) RunPrompt ¶ added in v0.0.13
func (h *HomebrewFeature) RunPrompt() error
RunPrompt runs the homebrew config prompt and updates the config based on the user input
func (*HomebrewFeature) UpdateTemplateOptions ¶ added in v0.0.13
func (h *HomebrewFeature) 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.