Skip to main content

run_cli_command

Function run_cli_command 

Source
pub async fn run_cli_command(
    cwd_raw: String,
    cached_claude_path: Option<PathBuf>,
    args: Vec<String>,
) -> Result<(PathBuf, String), String>
Expand description

Run one claude plugin ... action without the trailing inventory refresh, so a section-level run can interleave per-plugin work with progress updates and refresh once at the end. Returns the resolved claude path (reuse it across a run) plus the CLI’s combined stdout+stderr - the update classifier needs the output, because the CLI exits 0 on some failures.