Interface: ClaudeCodeCliExtraArg
Defined in: src/batteries/llm/claude_code_cli/wire.ts:18
One entry in a --json-schema/--effort-style extraArgs escape hatch.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
flag | | "--betas" | "--prompt-suggestions" | "--effort" | "--agent" | "--json-schema" | "--name" | The exact CLI flag spelling. Restricted to a small, deliberately-chosen allowlist. | src/batteries/llm/claude_code_cli/wire.ts:20 |
value? | string | string[] | The flag's value. Required for every flag except --prompt-suggestions (optional, matching the CLI's own [value] bracket syntax). A plain string for every flag except --betas, which accepts string[] (matching its own <betas...> variadic arity). Every individual value string, in every position, must not start with - — this is what makes it structurally impossible for a value to be interpreted by the CLI's own parser as a separate flag. | src/batteries/llm/claude_code_cli/wire.ts:28 |