ui

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package ui provides interactive user interface components

Package ui provides interactive user interface components

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spinner

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

Spinner provides a simple terminal spinner for long-running operations

func NewSpinner

func NewSpinner(message string) *Spinner

NewSpinner creates a new spinner with the given message

func (*Spinner) Fail

func (s *Spinner) Fail(message string)

Fail stops the spinner and shows a failure message

func (*Spinner) Start

func (s *Spinner) Start()

Start begins the spinner animation

func (*Spinner) Stop

func (s *Spinner) Stop()

Stop stops the spinner without any message

func (*Spinner) Success

func (s *Spinner) Success(message string)

Success stops the spinner and shows a success message

func (*Spinner) Update

func (s *Spinner) Update(message string)

Update updates the spinner message while running

type Wizard

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

Wizard handles the interactive setup process

func NewWizard

func NewWizard() *Wizard

NewWizard creates a new setup wizard

func (*Wizard) Run

func (w *Wizard) Run() (*config.Config, error)

Run executes the setup wizard

Jump to

Keyboard shortcuts

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