Skip to content

plan

Functions


Function

Resolve the unified config for the stack.

An explicit --config path takes precedence; otherwise firma-config-loader discovery is used.

Returns [StackError::ConfigResolution] when a selected configuration cannot be resolved, or [StackError::ConfigNotFound] when discovery finds no firma.toml.

fn resolve_stack_config(cli_override: Option<&std::path::Path>) -> Result<crate::config::StackConfig, crate::error::StackError>