From f79fd2d48c1b4f3ec69a76a6ef44e9e49a148579 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Mon, 13 Oct 2025 14:00:36 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(cli):=20pass=20cl?= =?UTF-8?q?ient=20to=20run=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pass client to run command to enable api calls --- src/cli/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/main.rs b/src/cli/main.rs index 0eae9f4..69bb602 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -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, } }