croft 0.1.1

Per-project dev-loop tool: Docker Compose, scripts, hooks, and agents in one config
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `croft update` — replace the running binary with the latest release.

use anyhow::{Context, Result};

use crate::cli::update;

pub async fn run(force: bool, prerelease: bool) -> Result<()> {
    update::run_update(force, prerelease)
        .await
        .context("self-update failed")
}