use crate::cli::{commands, dispatch, verbosity};
use anyhow::Result;
pub fn start() -> Result<()> {
let matches = commands::new().get_matches();
let verbosity_count = matches.get_count("verbose");
let verbosity = verbosity::Verbosity::from(verbosity_count);
let action = dispatch::handler(&matches, verbosity)?;
action.execute()?;
Ok(())
}
#[cfg(test)]
mod tests {
#[test]
fn test_start_compiles() {
}
}