pub fn update_interactive(force: bool) -> Result<()>Expand description
Runs the vct update flow, optionally prompting for confirmation.
With force set, skips the freshness check and the prompt and reinstalls
the latest release outright. Otherwise it checks for a newer version and,
only if one exists, asks for y/N confirmation on stdin before
installing — anything other than y cancels.
§Errors
Returns an error if the update check or install fails (network, version parse, asset selection, extraction, or binary swap), or if reading the confirmation from stdin fails.