Skip to main content

run_scan

Function run_scan 

Source
pub fn run_scan(
    apply: bool,
    serve_url: Option<String>,
    serve_key: Option<String>,
) -> Result<()>
Expand description

Entry point for symforge init --scan [--apply --serve-url <url> [--serve-key <key>]].

Default (--scan alone) is non-destructive: it scans the known MCP harness configs and reports each client’s SymForge attach status (and, when a serve URL is supplied, the dry-run plan). With --apply it backs up and writes the HTTP attach entry into each config. Reuses the client-path knowledge in this module via crate::cli::harness::HarnessRegistry.