Skip to content

Commit d35d040

Browse files
ashu17706claude
andcommitted
improve: update workflow with smart caveats and size info
Updates formula generation to include: - Daemon detection (only suggest install if not found) - Installation size information (4.4MB binary) - GUI app detection (informational) - Improved formatting with emojis - Clear quick start commands - Link to GitHub repo Better user experience: - Doesn't nag users about daemon if already installed - Shows what's being installed and where - More organized post-install information - Guides users through next steps Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 5683b45 commit d35d040

1 file changed

Lines changed: 29 additions & 9 deletions

File tree

.github/workflows/publish-homebrew.yml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,37 @@ jobs:
6565
end
6666
6767
def caveats
68-
<<~EOS
69-
✅ warp-cli is installed!
68+
daemon_installed = system("launchctl list | grep -q com.cloudflare.warp.daemon")
69+
gui_installed = File.exist?("/Applications/Cloudflare WARP.app")
7070
71-
Next step: Install WARP daemon (if not already installed)
72-
brew install --cask cloudflare-warp
71+
message = ""
72+
message += "✅ warp-cli installed!\n\n"
7373
74-
Then start using:
75-
warp up # Connect to WARP
76-
warp status # Check connection
77-
warp --help # See all commands
78-
EOS
74+
message += "📊 Installation Summary:\n"
75+
message += " • Binary: warp\n"
76+
message += " • Location: #{bin}/warp\n"
77+
message += " • Size: ~4.4MB\n\n"
78+
79+
if !daemon_installed
80+
message += "⚠️ WARP daemon not detected.\n"
81+
message += "Install it with:\n"
82+
message += " brew install --cask cloudflare-warp\n\n"
83+
else
84+
message += "✅ WARP daemon is running\n\n"
85+
end
86+
87+
if gui_installed
88+
message += "💡 GUI app detected at /Applications/Cloudflare WARP.app\n"
89+
message += " (Not needed - this CLI doesn't use it)\n\n"
90+
end
91+
92+
message += "🚀 Quick start:\n"
93+
message += " warp up # Connect to WARP\n"
94+
message += " warp status # Check connection + IP\n"
95+
message += " warp --help # See all commands\n\n"
96+
message += "📖 Learn more: https://github.com/zero8dotdev/warp-cli"
97+
98+
message
7999
end
80100
81101
test do

0 commit comments

Comments
 (0)