batman
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user