1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use std::process::ExitCode; mod cli; mod commands; mod repository; mod storage; #[tokio::main] async fn main() -> ExitCode { match cli::run().await { Ok(()) => ExitCode::SUCCESS, Err(error) => { eprintln!("error: {error:#}"); ExitCode::FAILURE } } }