updatecmd

package
v1.22.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package updatecmd provides commands for updating the CLI and related binaries.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUserAbortedInstallation is returned when user cancels an installation.
	ErrUserAbortedInstallation = errors.New("user canceled installation")
	ErrNoVersion               = errors.New("failed to find current version - did you install following official instructions?")
)

Functions

func NewCmd

func NewCmd(injectedApp *application.Lux, version string) *cobra.Command

NewCmd creates the update command.

func Update

func Update(cmd *cobra.Command, isUserCalled bool, version string) error

Update checks for and installs the latest CLI version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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