wizard

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package wizard hosts the Bubble Tea program that drives the interactive installer. Each screen is a Step (see internal/wizard/steps).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

func RunWith

func RunWith(opts Options) error

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type Options

type Options struct {
	DryRun bool
}

Options configures a wizard run. Currently controls dry-run mode.

Directories

Path Synopsis
Package steps holds the individual wizard screens for the `init` wizard.
Package steps holds the individual wizard screens for the `init` wizard.

Jump to

Keyboard shortcuts

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