Adding command line generation of templates