refactor: tui package for CLI styles and prompts, restyle confirmation

This commit is contained in:
Pasha Sviderski committed 2026-03-18 16:25:25 +10:00
1 parent 1735ef9521
commit 68661e57c3
16 files changed
+112 -65

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package tui
import (
"fmt"
"os"
)
func PrintWarning(msg string) {
styledMsg := BoldYellow.Render(fmt.Sprintf("WARNING: %s", msg))
fmt.Fprintln(os.Stderr, styledMsg)
}