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) 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) 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) 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) 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) Value ¶
func (m StringInputModel) Value() string
func (StringInputModel) View ¶
func (m StringInputModel) View() string
Click to show internal directories.
Click to hide internal directories.