formrunner

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormRunnerFinishedCmd

func FormRunnerFinishedCmd(answers map[string]interface{}) tea.Cmd

func FormRunnerSetScfConfigCmd

func FormRunnerSetScfConfigCmd(scfConfig *scfconfig.ScfConfig) tea.Cmd

Types

type FormRunnerFinishedMsg

type FormRunnerFinishedMsg struct {
	Answers map[string]interface{}
}

type FormRunnerLoadedMsg

type FormRunnerLoadedMsg struct {
}

type FormRunnerModel

type FormRunnerModel struct {
	ScrollWindowModel tea.Model
	Form              *huh.Form
}

func NewFormRunnerModel

func NewFormRunnerModel() *FormRunnerModel

func (FormRunnerModel) Init

func (m FormRunnerModel) Init() tea.Cmd

func (FormRunnerModel) Update

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

func (FormRunnerModel) View

func (m FormRunnerModel) View() string

type FormRunnerSetScfConfigMsg

type FormRunnerSetScfConfigMsg struct {
	ScfConfig *scfconfig.ScfConfig
}

Jump to

Keyboard shortcuts

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