♻️ refactor(cli): pass client to run command
- pass client to run command to enable api calls
This commit is contained in:
committed by
Jeremiah Russell
parent
9018fa02d4
commit
f79fd2d48c
@@ -84,7 +84,7 @@ async fn run(args: Cli) -> Result<()> {
|
|||||||
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(&client).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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user