chezmoibubbles

package
v2.48.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package chezmoibubbles provides text user interface components for chezmoi using github.com/charmbracelet/bubbletea.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolInputModel

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

func NewBoolInputModel

func NewBoolInputModel(prompt string, defaultValue *bool) BoolInputModel

func (BoolInputModel) Canceled

func (m BoolInputModel) Canceled() bool

func (BoolInputModel) Init

func (m BoolInputModel) Init() tea.Cmd

func (BoolInputModel) Update

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

func (BoolInputModel) Value

func (m BoolInputModel) Value() bool

func (BoolInputModel) View

func (m BoolInputModel) View() string

type ChoiceInputModel

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

func NewChoiceInputModel

func NewChoiceInputModel(prompt string, choices []string, defaultValue *string) ChoiceInputModel

func (ChoiceInputModel) Canceled

func (m ChoiceInputModel) Canceled() bool

func (ChoiceInputModel) Init

func (m ChoiceInputModel) Init() tea.Cmd

func (ChoiceInputModel) Update

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

func (ChoiceInputModel) Value

func (m ChoiceInputModel) Value() string

func (ChoiceInputModel) View

func (m ChoiceInputModel) View() string

type IntInputModel

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

func NewIntInputModel

func NewIntInputModel(prompt string, defaultValue *int64) IntInputModel

func (IntInputModel) Canceled

func (m IntInputModel) Canceled() bool

func (IntInputModel) Init

func (m IntInputModel) Init() tea.Cmd

func (IntInputModel) Update

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

func (IntInputModel) Value

func (m IntInputModel) Value() int64

func (IntInputModel) View

func (m IntInputModel) View() string

type PasswordInputModel

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

func NewPasswordInputModel

func NewPasswordInputModel(prompt string) PasswordInputModel

func (PasswordInputModel) Canceled

func (m PasswordInputModel) Canceled() bool

func (PasswordInputModel) Init

func (m PasswordInputModel) Init() tea.Cmd

func (PasswordInputModel) Update

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

func (PasswordInputModel) Value

func (m PasswordInputModel) Value() string

func (PasswordInputModel) View

func (m PasswordInputModel) View() string

type StringInputModel

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

func NewStringInputModel

func NewStringInputModel(prompt string, defaultValue *string) StringInputModel

func (StringInputModel) Canceled

func (m StringInputModel) Canceled() bool

func (StringInputModel) Init

func (m StringInputModel) Init() tea.Cmd

func (StringInputModel) Update

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

func (StringInputModel) Value

func (m StringInputModel) Value() string

func (StringInputModel) View

func (m StringInputModel) View() string

Jump to

Keyboard shortcuts

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