Skip to main content

validate_bash_command

Function validate_bash_command 

Source
pub fn validate_bash_command(command: &str) -> (BashSafety, &'static str)
Expand description

Validate a bash command for safety before execution. Returns (safety_level, reason) for the command.