ampelos 0.1.0

Dev-loop trellis: one config for Docker Compose, scripts, hooks, and agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `ampelos 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")
}