Documentation
¶
Overview ¶
Package update holds the self-update logic shared by the framework adapters' update commands, driven through the updater.Updater interface so any install method (Homebrew, `go install`, GitHub release) works.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Requested ¶ added in v0.0.3
Requested reports whether args contains the hidden --self-update flag, scanning only up to a "--" terminator. Like completion preflight, the scan runs before parsing so self-update works even in grammars whose validation would otherwise demand arguments or a subcommand. The flag is mutually exclusive with everything else: when it appears alongside any other argument, the first result is still true and the error explains the conflict.
Types ¶
Click to show internal directories.
Click to hide internal directories.