cmds

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context) tea.Cmd

Init is the command to initialize the application.

func SitesCheckExists

func SitesCheckExists(ctx context.Context, client *apis.ClientWithResponses, name string) tea.Cmd

SitesCheckExists checks if a site exists and returns a SiteExistsMsg if it does.

Types

type ErrorMsg

type ErrorMsg struct {
	Err error
}

ErrorMsg is a message that contains an error.

type InitMsg

type InitMsg struct {
	Client *apis.ClientWithResponses
	Config config.Config
}

InitMsg is sent when the user initializes the application.

type SitesCheckDoesNotExistMsg

type SitesCheckDoesNotExistMsg struct{}

SitesCheckDoesNotExistMsg is sent when a site does not exist.

type SitesCheckExistsMsg

type SitesCheckExistsMsg struct{}

SitesCheckExistsMsg is sent when a site exists.

Jump to

Keyboard shortcuts

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