package util

import "github.com/hashicorp/cap/util"

Index

Functions

func IsWSL

func IsWSL() (bool, error)

IsWSL tests if the binary is being run in Windows Subsystem for Linux

func OpenURL

func OpenURL(url string) error

OpenURL opens the specified URL in the default browser of the user. Source: https://stackoverflow.com/a/39324149/453290

Source Files

util.go

Version
v0.9.0 (latest)
Published
Feb 28, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
2 months ago

Tools for package owners.