Skip to main content

run

Function run 

Source
pub fn run(description: String, dry_run: bool)
Expand description

Run the ferro ai:make <description> command.

Thin wrapper over ferro_mcp::tools::ai_scaffold::scaffold_core. All introspection, relevance filtering, prompt assembly, LLM completion, and validation run inside the core. The CLI bridge (tokio runtime, console output, file write, process exit) stays here. --dry-run prints the ServiceDef as pretty JSON and writes nothing.