This commit is contained in:
jb
2026-03-05 08:46:04 -03:00
commit 315807bbab
10 changed files with 308 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package tui
import (
"charm.land/bubbles/v2/textinput"
tea "charm.land/bubbletea/v2"
)
type Model struct {
currentStep step
dockerInstalled bool
isPublicIP bool
inputs []textinput.Model
cursor int
err error
}
func InitialModel() Model {
return Model{
currentStep: StepCheckDocker,
}
}
func (m Model) Init() tea.Cmd {
return CheckDockerCmd()
}