Help us shape the future of Go! Take the 2026 Go Developer Survey

prompts

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInputFromPrompt

func GetInputFromPrompt(desiredInput string) string

func RunPromptsFromConfig

func RunPromptsFromConfig(config *config.DraftConfig) (map[string]string, error)

func RunPromptsFromConfigWithSkips added in v0.0.24

func RunPromptsFromConfigWithSkips(config *config.DraftConfig, varsToSkip []string) (map[string]string, error)

Types

type TemplatePrompt

type TemplatePrompt struct {
	Prompt         *promptui.Prompt
	OverrideString string
}

type TemplateSelect added in v0.0.23

type TemplateSelect struct {
	Select         *promptui.Select
	OverrideString string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL