Versions in this module Expand all Collapse all v1 v1.0.0 Jun 25, 2017 Changes in this version + type ErrorRenderer interface + PrintError func(err error) + type LinePrompter interface + NextOnSuccess func(string) string + Parse func(string) error + type MultilinePrompter interface + NextOnSuccess func([]string) string + Parse func([]string) error + type PromptRenderer interface + PrintPrompt func(string) + type Prompter interface + ID func() string + NextOnError func(error) string + PromptString func() string + type Prompts struct + func NewPrompts() Prompts + func NewPromptsFromReaderAndWriter(reader io.Reader, writer io.Writer) Prompts + func (p *Prompts) AddLinePrompter(prompt LinePrompter) + func (p *Prompts) AddMultilinePrompter(prompt MultilinePrompter) + func (p *Prompts) Run() + func (p *Prompts) Scenario() []Step + func (p *Prompts) SetFirst(id string) + type SeparatorRenderer interface + PrintSeparator func() + type Step struct + func (s Step) Error() error + func (s Step) Inputs() []string + func (s Step) PromptString() string Incompatible versions in this module v2.0.0+incompatible Dec 15, 2017 Other modules containing this package github.com/antham/strumt/v2