♻️ refactor(cli): pass client to run command

- pass client to run command to enable api calls
This commit is contained in:
Jeremiah Russell
2025-10-13 14:00:36 +01:00
committed by Jeremiah Russell
parent 9018fa02d4
commit f79fd2d48c

View File

@@ -84,7 +84,7 @@ async fn run(args: Cli) -> Result<()> {
SubCmds::Labels(label_cli) => label_cli.run(client).await,
SubCmds::Trash(trash_cli) => trash_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(&client, config).await,
}
}