validateCommand

fun <C : Any> Validator.validateCommand(commandBody: C): C