1use crate::cli::{actions::Action, commands, dispatcher}; 2use anyhow::Result; 3 4/// Start the CLI 5pub fn start() -> Result<Action> { 6 let cmd = commands::new(); 7 let matches = cmd.get_matches(); 8 let action = dispatcher::dispatch(&matches)?; 9 Ok(action) 10}