Documentation ¶
Overview ¶
Package promptuiproxy is a package that provides a promptui proxy for the app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromptInstance ¶
PromptInstance is a struct that implements PromptInstanceInterface.
func (*PromptInstance) Run ¶
func (p *PromptInstance) Run() (string, error)
Run is a proxy for promptui.Prompt.Run.
func (*PromptInstance) SetLabel ¶
func (p *PromptInstance) SetLabel(label string)
SetLabel is a proxy for promptui.Prompt.Label.
type PromptInstanceInterface ¶
PromptInstanceInterface is an interface for promptui.Prompt.
type Promptui ¶
type Promptui interface {
NewPrompt() PromptInstanceInterface
}
Promptui is an interface for promptui.
type PromptuiProxy ¶
type PromptuiProxy struct{}
PromptuiProxy is a struct that implements Promptui.
func (*PromptuiProxy) NewPrompt ¶
func (*PromptuiProxy) NewPrompt() PromptInstanceInterface
NewPrompt is a proxy for getting promptui.Prompt struct.
Click to show internal directories.
Click to hide internal directories.