♻️ refactor(cli): inject config into run command
- inject config into run command for better access to settings
This commit is contained in:
committed by
Jeremiah Russell
parent
9c237d8681
commit
6a7c67cffc
@@ -81,7 +81,7 @@ async fn run(args: Cli) -> Result<()> {
|
||||
SubCmds::Labels(label_cli) => label_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::Run(run_cli) => run_cli.run(config.credential_file()).await,
|
||||
SubCmds::Run(run_cli) => run_cli.run(config).await,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user