Skip to main content

Module command

Module command 

Source
Expand description

update CLI subcommand — check | run.

Wires the crate::Updater library API to the user-facing CLI. Subcommands:

  • update check — print whether a newer version is available.
  • update run [--target X.Y.Z] [--force] [--include-prereleases] [--dry-run] — execute the full self-update flow.

No subcommand defaults to check (cheapest, most common).

§Lint exception

linkme::distributed_slice emits #[link_section] which Rust 1.95+ flags under unsafe_code. Allowed at module level — no hand-rolled unsafe blocks anywhere in the module.

Structs§

UpdateCmd
The update subcommand.