Skip to main content

command_string

Function command_string 

Source
pub fn command_string(arguments: &Value) -> Option<String>
Expand description

Extract the shell command string a tool call names, joining a command / cmd / script string plus any args / argv array elements, so a command split across an argv list is still scanned as one string. None when no command is present (unknown shape fails open to “no provenance”).