Add a validate command to CLI to validate commit messages