shared

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewItemCmd added in v0.0.5

func AddNewItemCmd(title, description, command string) tea.Cmd

func CloseAddNewScreenCmd added in v0.0.6

func CloseAddNewScreenCmd() tea.Cmd

func CloseConfirmationModalCmd added in v0.0.4

func CloseConfirmationModalCmd() tea.Cmd

func CopyToClipboardCmd added in v0.0.2

func CopyToClipboardCmd(t string) tea.Cmd

func DeleteCurrentItemCmd added in v0.0.4

func DeleteCurrentItemCmd(i int) tea.Cmd

func SetCurrentItemCmd added in v0.0.2

func SetCurrentItemCmd(i models.Item) tea.Cmd

func UpdateItemCmd added in v0.0.2

func UpdateItemCmd(i models.Item) tea.Cmd

Types

type CopiedToClipboardMsg added in v0.0.2

type CopiedToClipboardMsg struct{}

type DidAddNewItemMsg added in v0.0.5

type DidAddNewItemMsg struct {
	Title       string
	Description string
	CommandText string
}

type DidCloseAddNewScreenMsg added in v0.0.6

type DidCloseAddNewScreenMsg struct{}

type DidCloseConfirmationModalMsg added in v0.0.4

type DidCloseConfirmationModalMsg struct{}

type DidDeleteItemMsg added in v0.0.4

type DidDeleteItemMsg struct {
	Index int
}

type DidSetCurrentItemMsg added in v0.0.2

type DidSetCurrentItemMsg struct {
	Item models.Item
}

type DidUpdateItemMsg added in v0.0.2

type DidUpdateItemMsg struct {
	Item models.Item
}

type ErrorMsg

type ErrorMsg struct {
	Err error
}

Jump to

Keyboard shortcuts

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