Help us shape the future of Go! Take the 2026 Go Developer Survey

installer

package
v1.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawInstalledBy

func RawInstalledBy() string

RawInstalledBy returns the raw value of the `.installed-by.txt` file in the same directory as the executing instance of azd after removing leading and trailing whitespace.

Types

type InstallType

type InstallType string
const InstallTypeBrew InstallType = "brew"
const InstallTypeChoco InstallType = "choco"
const InstallTypeDeb InstallType = "deb"
const InstallTypePs InstallType = "install-azd.ps1"
const InstallTypeRpm InstallType = "rpm"
const InstallTypeSh InstallType = "install-azd.sh"
const InstallTypeUnknown InstallType = ""
const InstallTypeWinget InstallType = "winget"

func InstalledBy

func InstalledBy() InstallType

InstalledBy Returns the type of installer that installed the CLI, based on the contents of the `.installed-by.txt` file in the same directory as the executing instance of azd.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL