File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Dependency: Cloudflare WARP https://developers.cloudflare.com/warp-client/setting-up/macOS
4
+ # Note: Cloudflare WARP must be installed, but CLI works properly only if GUI-client is not running
5
+
6
+ # Required parameters:
7
+ # @raycast.schemaVersion 1
8
+ # @raycast.title Reauthenticate
9
+ # @raycast.mode compact
10
+
11
+ # Optional parameters:
12
+ # @raycast.icon images/warp.png
13
+
14
+ # @Documentation:
15
+ # @raycast.packageName WARP
16
+ # @raycast.description Force WARP reauthentication
17
+ # @raycast.author Daniils Petrovs
18
+ # @raycast.authorURL https://github.com/danirukun
19
+
20
+
21
+ if ! command -v warp-cli & > /dev/null; then
22
+ echo " WARP is required (https://developers.cloudflare.com/warp-client/setting-up/macOS)" ;
23
+ exit 1;
24
+ fi
25
+
26
+ warp-cli access-reauth
27
+ echo " Opening WARP authentication page"
You can’t perform that action at this time.
0 commit comments