install

package
v2.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 14 Imported by: 0

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(shell string) (bool, error)

func (*CmdInstall) RunE

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

Jump to

Keyboard shortcuts

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