update

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package update holds the self-update logic shared by the framework adapters' update commands. It dispatches on the install method configured in App.Updater: Homebrew, `go install`, or GitHub release download.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, app *conductor.Runtime, opts Options) error

Run checks for or installs an update using the install method of the runtime's App.Updater: brew.Config, goinstall.Config or github.Config. Tools distributed another way provide their own update command instead.

Types

type Options

type Options struct {
	Check       bool
	Stable      bool
	Dev         bool
	NoUninstall bool
}

Options are the standard update-command flags. Stable and NoUninstall only influence the Homebrew method; the other methods treat stable as the default channel and manage no conflicting copies.

Jump to

Keyboard shortcuts

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