mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-11 20:56:35 +00:00

- Move packages the provide generic functionality (such as config) from `cmd` subtree to top level. - Remove all dependencies on `cmd` subtree from top level packages. - Consolidate all code dealing with token generation and transfer to a single cohesive package.
8 lines
164 B
Go
8 lines
164 B
Go
package token
|
|
|
|
// OpenBrowser opens the specified URL in the default browser of the user
|
|
func OpenBrowser(url string) error {
|
|
return getBrowserCmd(url).Start()
|
|
}
|
|
|