readTemplete method
Implementation
String readTemplete(
String group,
String file,
String template,
String path,
) {
var root = '.js_cli';
path = '$group/$path';
var existFile = File('$root/$path/$file').existsSync();
if (!existFile) {
DirectoryUtils.create(root + '/' + path);
File('$root/$path/$file').writeAsStringSync(template);
}
return File('$root/$path/$file').readAsStringSync();
}