greentic-operator 0.4.34

Greentic operator CLI for local dev and demo orchestration.
1
2
3
4
5
6
7
8
9
10
use crate::wizard::{WizardCreateRequest, WizardMode, WizardPlan};

pub fn build_plan(
    mode: WizardMode,
    request: &WizardCreateRequest,
    dry_run: bool,
) -> anyhow::Result<WizardPlan> {
    let normalized = crate::wizard::normalize_request_for_plan(request)?;
    crate::wizard::apply(mode, &normalized, dry_run)
}