🐛 fix(cli): fix delete command
- pass the client to the delete command
This commit is contained in:
committed by
Jeremiah Russell
parent
22e1916262
commit
704b2b023e
@@ -83,7 +83,7 @@ async fn run(args: Cli) -> Result<()> {
|
|||||||
SubCmds::Message(list_cli) => list_cli.run(config.credential_file()).await,
|
SubCmds::Message(list_cli) => list_cli.run(config.credential_file()).await,
|
||||||
SubCmds::Labels(label_cli) => label_cli.run(client).await,
|
SubCmds::Labels(label_cli) => label_cli.run(client).await,
|
||||||
SubCmds::Trash(trash_cli) => trash_cli.run(config.credential_file()).await,
|
SubCmds::Trash(trash_cli) => trash_cli.run(config.credential_file()).await,
|
||||||
SubCmds::Delete(delete_cli) => delete_cli.run(config.credential_file()).await,
|
SubCmds::Delete(delete_cli) => delete_cli.run(&client).await,
|
||||||
SubCmds::Run(run_cli) => run_cli.run(config).await,
|
SubCmds::Run(run_cli) => run_cli.run(config).await,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user