Documentation
¶
Index ¶
- func PrintBanner(title string)
- func PrintCredentials(username, password, apiKey string, userCreated bool)
- func PrintError(message string)
- func PrintStep(step int, message string)
- func PrintSuccess(message string)
- func PrintWarning(message string)
- func Select[T any](p *Prompter, message string, options []Option[T]) (T, error)
- type Option
- type Prompter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBanner ¶
func PrintBanner(title string)
PrintBanner displays a CLI banner with the given title.
func PrintCredentials ¶
PrintCredentials prints credentials in a formatted box.
func PrintSuccess ¶
func PrintSuccess(message string)
PrintSuccess displays a success message with a checkmark.
Types ¶
type Prompter ¶
type Prompter struct {
// contains filtered or unexported fields
}
func NewPrompter ¶
Click to show internal directories.
Click to hide internal directories.