I have been playing around with some neat ways to do things with symfony2 and the validator component. In this post I will show you one way to use the validator component in your commands. We will start with this base template.