pub fn ensure_installed(
install: &AddonInstall,
) -> Result<BootstrapOutcome, String>Expand description
Provision install’s package idempotently. Returns immediately if it is
already satisfied; otherwise runs the manager (streaming its output so the
user sees real progress) and re-checks. A non-zero manager exit is an error;
a clean exit whose binary is not yet on PATH is a non-fatal warning.
Spawns a subprocess — only ever called from the interactive CLI layer after
the user has consented; the core install::install stays pure.