Added CLI for template processing