cmds

package
v0.3.25 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v0.3.25

func Check(ctx context.Context, path string) tea.Cmd

Checks the spec and provides feedback.

func Init

func Init(path string, force bool) tea.Cmd

Init initializes 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 CheckSuccessMsg added in v0.3.25

type CheckSuccessMsg struct{}

CheckSuccessMsg is sent when the check command succeeds.

type ErrorMsg

type ErrorMsg struct {
	Err error
}

ErrorMsg is a message that contains an error.

type InitSuccessMsg added in v0.3.25

type InitSuccessMsg struct{}

InitSuccessMsg is a message that indicates the initialization was successful.

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