Skip to main content

run

Function run 

Source
pub async fn run(
    cwd: &Path,
    global_override: Option<&Path>,
    name: Option<String>,
    force: bool,
) -> Result<()>
Expand description

CLI entry point. Resolves the repo root from cwd (walking up, with a fallback prompt to bootstrap a fresh .agents/outrig/config.toml if none is found) before running the interactive image-add flow. One PromptSource is threaded through both halves so the user sees a single conversation. global_override plumbs --global-config into the bootstrap path so the model-section can list models from the right global config.