Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Step ¶ added in v0.0.2
type Step struct {
LabelText string
DefaultFn func(ctx *context.Context) string
OnInputFn func(input string, ctx *context.Context) (continueFlow bool, err error)
}
Step represents a single interaction or execution unit in the wizard. It is designed to be used as a literal for easy instantiation.
func (*Step) DefaultValue ¶ added in v0.0.2
DefaultValue returns a suggestion based on the current context.
type Wizard ¶
type Wizard struct {
// contains filtered or unexported fields
}
Wizard orchestrates the execution of multiple Steps.
func (*Wizard) AlwaysShowAllLogs ¶ added in v0.0.2
StreamingLoggable implementation
func (*Wizard) WaitingForUser ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.