create_backend

Function create_backend 

Source
pub fn create_backend(
    config: Option<&BackendConfig>,
    project_root: PathBuf,
    cli_backend: Option<&str>,
) -> Arc<dyn TaskBackend>
Expand description

Create a backend based on configuration.

This function only handles the host backend. For dagger backend support, use create_backend_with_factory and provide a factory from cuenv-dagger.