Skip to main content

raw_command_text

Function raw_command_text 

Source
pub fn raw_command_text(args: &Value) -> Option<String>
Expand description

Extract the raw command string from command_session-style arguments without splitting it into words. This is useful for checking shell syntax that would be lost after shell_words::split, such as redirections and pipes.