Skip to main content

Module argv

Module argv 

Source
Expand description

Pure-function argv composition. Takes an Options and produces the Vec<String> to pass to the claude subprocess. Kept separate from transport::process so the transport layer doesnโ€™t import MCP orchestration types.

Re-exportsยง

use crate::Error; ๐Ÿ”’
use crate::mcp::orchestration::McpHosts; ๐Ÿ”’
use crate::options::Options; ๐Ÿ”’
use crate::options::PermissionMode; ๐Ÿ”’
use crate::options::SdkPluginConfig; ๐Ÿ”’
use crate::options::SystemPromptKind; ๐Ÿ”’

Functionsยง

build_args
Build the subprocess argv from Options, SDKโ€™s _build_command byte-for-byte where possible. Exposed pub so advanced callers can inspect the argv without spawning.