commands

package
v2.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(key, msg string) tea.Cmd

func AlertError

func AlertError(err error) tea.Cmd

func AlertInfo

func AlertInfo(msg string) tea.Cmd

func AlertWarn

func AlertWarn(msg string) tea.Cmd

func CheckAppHasNewVersion

func CheckAppHasNewVersion(currVersion string) tea.Cmd

func CheckDownloadProcessMessages

func CheckDownloadProcessMessages(state *messages.UpgradeState) func(t time.Time) tea.Msg

定时查询下载进度

func LoadConfig

func LoadConfig() tea.Cmd

func Post

func Post(msg tea.Msg) tea.Cmd

func Redirect

func Redirect(item navstack.NavigationItem) tea.Cmd

func RedirectPop

func RedirectPop() tea.Cmd

func UpgradeApp

func UpgradeApp(appVersion string) tea.Cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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