use config::Config;
use config::ConfigBuilder;
use config::ConfigError;
pub fn builder_with_defaults() -> Result<ConfigBuilder<config::builder::DefaultState>, ConfigError>
{
Config::builder()
.set_default("system.default_workspace_root", ".")?
.set_default("system.storage.store_path", ".meld/store")?
.set_default("system.storage.frames_path", ".meld/frames")?
.set_default("system.storage.artifacts_path", ".meld/artifacts")
}