muster-workspace 0.1.0

A terminal workspace for running CLI agents and dev processes side by side
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::domain::config::{ConfigError, WorkspaceConfig};

/// Driven port: a source that can load the workspace configuration.
pub trait ConfigSource {
    /// Loads and validates the workspace configuration.
    ///
    /// # Errors
    /// Returns a `ConfigError` if the source cannot be read or is invalid.
    fn load(&self) -> Result<WorkspaceConfig, ConfigError>;
}