Documentation
¶
Overview ¶
Package browser opens URLs in the operator's default browser. One implementation for every caller (`tera redeem`, `tera dashboard --web`, the `tera login` PKCE handoff) so Windows is not left running `xdg-open`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open launches url in the default browser and returns without waiting for it. On Windows it uses `rundll32 url.dll,FileProtocolHandler`, which works without a console and needs no quoting of `&` (unlike `cmd /c start`). Callers should print the URL on error so the operator can open it by hand.
Types ¶
This section is empty.