pub fn validate_command( command: &str, options: &ValidationOptions, ) -> Result<()>
Validate a command string.
command
options
Returns Ok(()) if the command is valid, or an error describing why it’s invalid.
Ok(())