prompts

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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 *configs.DraftConfig) (map[string]string, error)

Types

type TemplatePrompt

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

Jump to

Keyboard shortcuts

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