selfupdate

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package selfupdate connects the reusable skills refresh runner to the optional typed callback exposed by cli-helpers/selfupdate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterUpdate

func AfterUpdate(runner reexec.Runner) helperselfupdate.AfterUpdateFunc

AfterUpdate returns the callback to assign to selfupdate.Options.AfterUpdate or selfupdate/cobracmd.CommandOptions.AfterUpdate. The self-update core owns deciding whether an outcome is eligible and turns a returned error into its non-fatal AfterUpdateWarning; this bridge only starts the resolved new binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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