Standardize warning output to use style.PrintWarning (gt-g6kor)
- Add PrintWarning helper in internal/style/style.go - Update 35 warning message outputs across 16 files to use consistent format - All warnings now display as "⚠ Warning: <message>" in yellow/bold 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -97,8 +97,7 @@ func runInstall(cmd *cobra.Command, args []string) error {
|
||||
|
||||
// Check if inside an existing workspace
|
||||
if existingRoot, _ := workspace.Find(absPath); existingRoot != "" && existingRoot != absPath {
|
||||
fmt.Printf("%s Warning: Creating HQ inside existing workspace at %s\n",
|
||||
style.Dim.Render("⚠"), existingRoot)
|
||||
style.PrintWarning("Creating HQ inside existing workspace at %s", existingRoot)
|
||||
}
|
||||
|
||||
fmt.Printf("%s Creating Gas Town HQ at %s\n\n",
|
||||
|
||||
Reference in New Issue
Block a user