Skip to main content

build_opencode_command

Function build_opencode_command 

Source
pub fn build_opencode_command(
    binary: &Path,
    model: &str,
    prompt: &str,
) -> Result<Command, AppError>
Expand description

Build the opencode run command with hardening flags.

Unlike codex (9 flags) and claude (7 flags), opencode has only --dangerously-skip-permissions for auto-approval.