cargo fmt

This commit is contained in:
Daan Boerlage 2022-04-11 21:37:08 +01:00
parent f04a529e09
commit 355571dd84
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -13,18 +13,10 @@ async fn main() -> Result<()> {
let config = config::resolve(&args).await?; let config = config::resolve(&args).await?;
let res = match &args.command { let res = match &args.command {
args::Commands::Toggle { id, state } => { args::Commands::Toggle { id, state } => commands::toggle::exec(config, id, state).await,
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::List => { args::Commands::Auth => Err(eyre!("Not yet implemented")),
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 { if let Err(e) = res {