Skip to main content

build_args

Function build_args 

Source
pub fn build_args(spec: &SessionSpec) -> Vec<String>
Expand description

Build the argv (excluding the binary itself) for one session.

Public so tests can assert the exact CLI wire format without spawning. Deliberately ignores every claude-only SessionSpec field: json_schema, max_budget_usd, resume, permission_mode, allowed_tools / disallowed_tools, tools, settings_json, effort.