handlers

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCLI

func ExitCLI(tprogram *tea.Program)

Types

type CmdHandler

type CmdHandler struct {
}

func NewCmdHandler

func NewCmdHandler() *CmdHandler

func (*CmdHandler) Handle

func (h *CmdHandler) Handle(data any, vars map[string]any) error

type ConfirmHandler

type ConfirmHandler struct {
}

func NewConfirmHandler

func NewConfirmHandler() *ConfirmHandler

func (*ConfirmHandler) Handle

func (h *ConfirmHandler) Handle(data any, vars map[string]any) (huh.Field, string, any, error)

type CreateHandler

type CreateHandler struct {
	// contains filtered or unexported fields
}

func NewCreateHandler

func NewCreateHandler(module string) *CreateHandler

func (*CreateHandler) Handle

func (h *CreateHandler) Handle(data any, vars map[string]any) error

type DefineHandler

type DefineHandler struct {
}

func NewDefineHandler

func NewDefineHandler() *DefineHandler

func (*DefineHandler) Handle

func (h *DefineHandler) Handle(data any, vars map[string]any) error

type FormHandler

type FormHandler struct {
}

func NewFormHandler

func NewFormHandler() *FormHandler

func (*FormHandler) Handle

func (h *FormHandler) Handle(data any, vars map[string]any) error

type InputHandler

type InputHandler struct {
}

func NewInputHandler

func NewInputHandler() *InputHandler

func (*InputHandler) Handle

func (h *InputHandler) Handle(data any, vars map[string]any) (huh.Field, string, any, error)

type LoadHandler

type LoadHandler struct {
}

func NewLoadHandler

func NewLoadHandler() *LoadHandler

func (*LoadHandler) Handle

func (h *LoadHandler) Handle(data any, vars map[string]any) error

type LogHandler

type LogHandler struct {
}

func NewLogHandler

func NewLogHandler() *LogHandler

func (*LogHandler) Handle

func (h *LogHandler) Handle(data any, vars map[string]any) error

type ModifyHandler

type ModifyHandler struct {
	// contains filtered or unexported fields
}

func NewModifyHandler

func NewModifyHandler(module string) *ModifyHandler

func (*ModifyHandler) Handle

func (h *ModifyHandler) Handle(data any, vars map[string]any) error

type MultiSelectHandler

type MultiSelectHandler struct {
}

func NewMultiSelectHandler

func NewMultiSelectHandler() *MultiSelectHandler

func (*MultiSelectHandler) Handle

func (h *MultiSelectHandler) Handle(data any, vars map[string]any) (huh.Field, string, any, error)

type RunHandler

type RunHandler struct {
	// contains filtered or unexported fields
}

func NewRunHandler

func NewRunHandler(name, module string) *RunHandler

func (*RunHandler) Handle

func (h *RunHandler) Handle(data any, vars map[string]any) error

type SelectHandler

type SelectHandler struct {
}

func NewSelectHandler

func NewSelectHandler() *SelectHandler

func (*SelectHandler) Handle

func (h *SelectHandler) Handle(data any, vars map[string]any) (huh.Field, string, any, error)

type TextHandler

type TextHandler struct {
}

func NewTextHandler

func NewTextHandler() *TextHandler

func (*TextHandler) Handle

func (h *TextHandler) Handle(data any, vars map[string]any) (huh.Field, string, any, error)

type WhenHandler

type WhenHandler struct {
	// contains filtered or unexported fields
}

func NewWhenHandler

func NewWhenHandler(module string) *WhenHandler

func (*WhenHandler) Handle

func (h *WhenHandler) Handle(data any, vars map[string]any) error

Jump to

Keyboard shortcuts

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