1
2
3
4
5
6
7
8
use crate::{global_paths::GlobalPaths, operations::update_version_db};
use anyhow::{Context, Result};

pub fn run_command_update_version_db(paths: &GlobalPaths) -> Result<()> {
    update_version_db(paths).with_context(|| "Failed to update version db.")?;

    Ok(())
}