pub fn resolve_profile_path( cli_override: Option<&str>, from_session: Option<PathBuf>, ) -> Result<PathBuf, ProfileResolutionError>