Skip to main content

execute_with_config

Function execute_with_config 

Source
pub async fn execute_with_config(
    args: TranslateArgs,
    config_service: Arc<dyn ConfigService>,
) -> Result<()>
Expand description

Execute the translate command with an owned configuration service.

Mirrors the convention used by the other subcommands so the dispatcher can route both Arc<dyn ConfigService> and &dyn ConfigService paths.