pub fn load_config_from_path(
config_path: Option<&Path>,
) -> (Config, Option<UnifiedConfig>, Vec<String>)Expand description
Load configuration from a specific path or the default location.
If config_path is provided, loads from that file.
Otherwise, loads from the default unified config location.
§Arguments
config_path- Optional path to a config file. If None, uses the default location.
§Returns
Returns a tuple of (Config, Option<UnifiedConfig>, Vec<String>) where the last element
contains any deprecation warnings to be displayed to the user.
Note: This function uses std::fs directly. For testable code,
use load_config_from_path_with_env with a ConfigEnvironment instead.