1 2 3 4 5 6 7 8 9 10
//! Command `update` use crate::{registry::Registry, result::Result}; /// Exec `update` command pub fn exec() -> Result<()> { let registry = Registry::new()?; println!("Fetching registry..."); registry.update()?; Ok(()) }