ui

package
v0.0.0-...-f2b4416 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitModel

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

func NewInitModel

func NewInitModel() InitModel

func (InitModel) Init

func (m InitModel) Init() tea.Cmd

func (InitModel) Update

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

func (InitModel) View

func (m InitModel) View() string

type InitResult

type InitResult struct {
	ProjectName        string
	Transport          string
	WithHandlers       bool
	WithSimulator      bool
	MetricsEnabled     bool
	WebUIEnabled       bool
	WithAPIWeaver      bool
	WithInfraEndpoints bool
}

func RunInitUI

func RunInitUI() (InitResult, error)

RunInitUI runs the interactive init UI and returns the result

type Spinner

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

func NewSpinner

func NewSpinner(text string) *Spinner

func (*Spinner) Start

func (s *Spinner) Start()

func (*Spinner) Stop

func (s *Spinner) Stop()

Jump to

Keyboard shortcuts

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