Documentation ¶
Overview ¶
Package apitea contains bubbletea messages and commands for integrating bubbletea programs with the Grit API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForResolveResponse ¶
func WaitForResolveResponse( responses api.API_ResolveRepoClient, tag string, ) tea.Cmd
WaitForResolveResponse waits for the next response of a ResolveRepo() API operation and dispatches the appropriate message.
Types ¶
type LocalRepoMatched ¶
LocalRepoMatched is a tea.Msg that indicates a ResolveRepo() API operation has found a matching local repository.
type OutputReceived ¶
type OutputReceived struct { Output *api.ClientOutput Tag string }
OutputReceived is a tea.Msg that indicates output text has been received from the server.
type RemoteRepoMatched ¶
type RemoteRepoMatched struct { Repo *api.RemoteRepo Tag string }
RemoteRepoMatched is a tea.Msg that indicates a ResolveRepo() API operation has found a matching remote repository.
type ResolveComplete ¶
type ResolveComplete struct {
Tag string
}
ResolveComplete is a tea.Msg that indicates a ResolveRepo() API operation has completed successfully.
type ResolveFailed ¶
ResolveFailed is a tea.Msg that indicates a ResolveRepo() API operation has failed.