Expand description
Lightweight update discovery and update commands.
Startup checks are deliberately best-effort: they run only for an interactive terminal, use a short timeout, and cache the result so a temporary registry outage never blocks the agent.
Structs§
Functions§
- check_
startup - Perform a cached, best-effort check with Pi package discovery disabled.
- check_
startup_ with_ package_ resources - Perform a cached, best-effort startup check.
- is_
newer - Compare the numeric semver components. Pre-release/build metadata are intentionally ignored because update notifications should be conservative.
- print_
startup_ notices - run_
self_ update - Update the installed rpi CLI through its documented crates.io install path. Cargo remains responsible for selecting the target and replacing the executable atomically.