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)