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.
Click to show internal directories.
Click to hide internal directories.