Skip to main content

validate_command

Function validate_command 

Source
pub fn validate_command(command: &str) -> Result<()>
Expand description

ยงErrors

Returns an error if command is empty or contains only whitespace.