install

package
v2.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInstallFailed = errors.New("failed to install one or more profiles")

Functions

func AppendToFile

func AppendToFile(p string, text string) error

Types

type CmdInstall

type CmdInstall struct {
	*subcommand.SubCommand
	// contains filtered or unexported fields
}

func NewCmdInstall

func NewCmdInstall(f *cmdutil.Factory) *CmdInstall

func (*CmdInstall) InstallProfile

func (n *CmdInstall) InstallProfile(shellType string) (bool, error)

func (*CmdInstall) RunE

func (n *CmdInstall) RunE(cmd *cobra.Command, args []string) error

type Shell added in v2.52.0

type Shell struct {
	Name   string
	Binary string
}

Jump to

Keyboard shortcuts

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