Documentation
¶
Overview ¶
Package upgrade implements the top-level CLI self-upgrade command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintAPIInstructionNotices ¶ added in v0.1.0
func PrintAPIInstructionNotices(cmd *cobra.Command, deps cliruntime.Deps)
PrintAPIInstructionNotices prints a non-blocking upgrade suggestion or a deprecation warning based on the most recent VOL-180 instructions observed on this invocation's API responses (api.LastInstructions). This replaces the previous GitHub-release polling notice (VOL-168): the API is now the sole source of truth for whether/how loudly to nudge an upgrade, and the check adds no extra network round-trip — it only reads headers the command already received.
A command that made no API call (help, version, completion, local-only commands) observes a zero-value Instructions and prints nothing.
Types ¶
This section is empty.