Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerModel ¶
type DockerModel struct {
// contains filtered or unexported fields
}
DockerModel manages the Docker setup step.
func (*DockerModel) CanQuit ¶
func (m *DockerModel) CanQuit() bool
CanQuit always returns true for the Docker step.
func (*DockerModel) CanSwitchTabs ¶
func (m *DockerModel) CanSwitchTabs() bool
CanSwitchTabs always returns true for the Docker step.
func (*DockerModel) Init ¶
func (m *DockerModel) Init() tea.Cmd
Init triggers the initial Docker status check.
func (*DockerModel) IsDone ¶
func (m *DockerModel) IsDone() bool
IsDone reports whether the Docker setup step has been completed.
func (*DockerModel) Title ¶
func (m *DockerModel) Title() string
Title returns the display name of this step.
type GitModel ¶
type GitModel struct {
// contains filtered or unexported fields
}
GitModel manages the Git configuration step.
func NewGitModel ¶
func NewGitModel() *GitModel
NewGitModel creates a new GitModel with default text inputs.
func (*GitModel) CanSwitchTabs ¶
CanSwitchTabs always returns true — left/right cursor movement in text inputs yields to tab navigation; fields are short enough that this is acceptable.
type ToolsModel ¶
type ToolsModel struct {
// contains filtered or unexported fields
}
ToolsModel is the Bubble Tea model for the tool-installation tab.
func NewToolsModel ¶
func NewToolsModel(sysInfo system.Info) *ToolsModel
NewToolsModel creates and returns a new ToolsModel initialised with the tool registry and system information used to resolve install commands.
func (*ToolsModel) CanQuit ¶
func (m *ToolsModel) CanQuit() bool
CanQuit returns false while the PTY is focused or work is in progress so Ctrl+C is forwarded to the running process and in-flight operations can be cancelled/cleaned up predictably by the model.
func (*ToolsModel) CanSwitchTabs ¶
func (m *ToolsModel) CanSwitchTabs() bool
CanSwitchTabs returns false when a popup is open, the PTY is focused, or install/uninstall work is still active or queued.
func (*ToolsModel) Init ¶
func (m *ToolsModel) Init() tea.Cmd
Init detects currently installed tool versions asynchronously.
func (*ToolsModel) IsDone ¶
func (m *ToolsModel) IsDone() bool
IsDone reports whether the Tools tab has completed all its work.
func (*ToolsModel) Title ¶
func (m *ToolsModel) Title() string
Title returns the display name of the Tools tab.