cargo-governor 1.2.0

Machine-First, LLM-Ready, CI/CD-Native release automation tool for Rust crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Simulate command - thin controller

use crate::cli::{OutputFormat, SimulateOpts};
use crate::error::Result;
use crate::services::release::SimulateService;

/// Execute the simulate command
pub async fn execute(
    workspace_path: &str,
    opts: SimulateOpts,
    format: OutputFormat,
) -> Result<crate::error::CommandExitCode> {
    let service = SimulateService::new(workspace_path.to_string(), opts);
    service.execute(format).await
}