mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
15 lines
279 B
Go
15 lines
279 B
Go
package client
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"charm.land/lipgloss/v2"
|
|
)
|
|
|
|
func PrintWarning(msg string) {
|
|
style := lipgloss.NewStyle().Foreground(lipgloss.Color("11")) // Bright yellow.
|
|
styledMsg := style.Render(fmt.Sprintf("WARNING: %s", msg))
|
|
fmt.Fprintln(os.Stderr, styledMsg)
|
|
}
|