validate
Validates a single command string.
Return
ValidationResult.success if allowed, or ValidationResult.failure with a reason
Parameters
command
the command (with or without leading slash)
Validates a single command string.
ValidationResult.success if allowed, or ValidationResult.failure with a reason
the command (with or without leading slash)