Documentation
¶
Index ¶
- func ErrorMessage(message string) string
- func InfoMessage(message string) string
- func KeyValue(key, value string) string
- func List(items []string) string
- func NewSpinner(message string) *spinner.Spinner
- func RenderPreview(changes []PackageChange) string
- func RenderVersionDiff(oldVer, newVer semver.Version) string
- func Section(title string) string
- func SuccessMessage(message string) string
- func WarningMessage(message string) string
- type PackageChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMessage ¶
ErrorMessage returns a styled error message with X mark
func InfoMessage ¶
InfoMessage returns a styled info message with info symbol
func NewSpinner ¶
NewSpinner creates a new progress spinner with the given message
func RenderPreview ¶
func RenderPreview(changes []PackageChange) string
RenderPreview renders a preview of version changes
func RenderVersionDiff ¶
RenderVersionDiff renders a version diff with arrow
func SuccessMessage ¶
SuccessMessage returns a styled success message with check mark
func WarningMessage ¶
WarningMessage returns a styled warning message with warning symbol
Types ¶
Click to show internal directories.
Click to hide internal directories.