showTemplateInfos method
Implementation
void showTemplateInfos(Template template) {
var templateVariables = template.parseTemplateVariables();
printToConsole('\nTEMPLATE VARIABLES:\n ${templateVariables.join(', ')}');
var manifest = template.getManifest();
if (manifest != null) {
printToConsole('\nMANIFEST:');
printToConsole(
YAMLWriter()
.write(manifest)
.split(RegExp(r'[\r\n]'))
.map((l) => ' $l')
.join('\n'),
);
}
}