Add validator flag to the command generator to create validator class as well.