Documentation
¶
Overview ¶
Package precommand provides a bubbletea sub-model that runs a PreCommandStep with a spinner and progress display, integrating into the deploy/stage TUI as an initial phase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompleteMsg ¶
type CompleteMsg struct{}
CompleteMsg indicates the pre-command step finished successfully.
type Model ¶
type Model struct {
// Err is set if the pre-command step failed. Check after the program exits.
Err error
// contains filtered or unexported fields
}
Model is a bubbletea sub-model that runs a PreCommandStep and displays progress with a spinner.
type Options ¶
type Options struct {
Step Step
ConfProvider *config.Provider
CommandName string
Styles *stylespkg.Styles
Headless bool
Writer io.Writer
}
Options for creating a new pre-command step model.
type ProgressMsg ¶
ProgressMsg represents a progress update from a Step.
type ProgressUpdateMsg ¶
ProgressUpdateMsg carries a progress update from the step to the TUI.
Click to show internal directories.
Click to hide internal directories.