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 non-blocking upgrade and account-credit notices from the instructions observed on this invocation's API responses. ConsumeCLIInstructions makes each notice one-shot. The check adds no network request because 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.
Click to show internal directories.
Click to hide internal directories.