vibe-action 0.0.1

Command router — execute shell commands and LLM prompts via simple YAML actions.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! AppConfig validation.
//! Checks estimator and cluster configuration.

use anyhow::Result;

use crate::{configs::app::AppConfig, validate::ValidateTrait};

impl ValidateTrait for AppConfig {
    /// Validate configuration.
    fn validate(&self) -> Result<()> {
        // Validate each cluster node.
        for node in &self.cluster {
            node.validate()?;
        }
        Ok(())
    }
}