Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallMethod ¶
type InstallMethod string
InstallMethod represents how the CLI was installed.
const ( InstallHomebrew InstallMethod = "homebrew" InstallGo InstallMethod = "go" InstallScript InstallMethod = "script" )
func DetectInstallMethod ¶
func DetectInstallMethod() InstallMethod
DetectInstallMethod determines how the CLI was installed by examining the binary path.
Click to show internal directories.
Click to hide internal directories.