chezmoi_modify_manager 3.4.0

Chezmoi addon to patch ini files with mixed settings and state (experimental rust branch)
Documentation
//! Perform update check and auto update.
#![cfg(feature = "updater-tls-rusttls")]

use self_update::cargo_crate_version;

/// Perform update check from github.
pub(super) fn update(no_confirm: bool) -> anyhow::Result<()> {
    let status = self_update::backends::github::Update::configure()
        .repo_owner("VorpalBlade")
        .repo_name("chezmoi_modify_manager")
        .bin_name("chezmoi_modify_manager")
        .show_download_progress(true)
        .current_version(cargo_crate_version!())
        .no_confirm(no_confirm)
        .build()?
        .update()?;
    println!("Update status: `{}`!", status.version());
    Ok(())
}