dashboard-url
Display the gateway dashboard URL and per-app URLs in the terminal.
Usage
gwt dashboard-url
Description
gwt dashboard-url is a long-lived command designed to run as a dedicated pane in each worktree tab. It reads .gwt/gateway.port and .gwt/config.toml to build and display the full list of URLs for the running gateway:
Dashboard
─────────
http://localhost:54812/
Apps
────
web: http://web.localhost:54812/
api: http://api.localhost:54812/
diff: http://diff.localhost:54812/
If the gateway has not started yet (.gwt/gateway.port does not exist), it displays:
Waiting for gateway to start...
The command watches .gwt/ for file changes and refreshes the display automatically, with a 200ms debounce.
Lifecycle
gwt dashboard-url stays alive until it receives SIGTERM (or the Zellij pane closes). The command exits cleanly on SIGINT. It is automatically placed in the urls pane of every worktree tab by gwt attach.
Environment
No flags or arguments. Reads from the current worktree’s .gwt/ directory.