wizard

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ShowSaveOption      bool
	ProposedFilename    string
	ProposedSnippetName string
}

type Option

type Option int
const (
	OptionTryAgain Option = iota
	OptionSaveExit
	OptionDontSaveExit
)

type Result

type Result struct {
	SelectedOption Option
	Filename       string
	SnippetTitle   string
}

func ShowAssistantWizard

func ShowAssistantWizard(config Config, styler style.Style, teaOptions ...tea.ProgramOption) (bool, Result)

Jump to

Keyboard shortcuts

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