diff --git a/src/main.rs b/src/main.rs index c9992a1..4326ef3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,18 +13,10 @@ async fn main() -> Result<()> { let config = config::resolve(&args).await?; let res = match &args.command { - args::Commands::Toggle { id, state } => { - commands::toggle::exec(config, id, state).await - } - args::Commands::List => { - commands::list::exec(config).await - } - args::Commands::Inspect { id } => { - commands::inspect::exec(config, id).await - } - args::Commands::Auth => { - Err(eyre!("Not yet implemented")) - } + args::Commands::Toggle { id, state } => commands::toggle::exec(config, id, state).await, + args::Commands::List => commands::list::exec(config).await, + args::Commands::Inspect { id } => commands::inspect::exec(config, id).await, + args::Commands::Auth => Err(eyre!("Not yet implemented")), }; if let Err(e) = res {