copyProjectTemplate static method

void copyProjectTemplate()

Copy project template from resource folder.

Any files with .extension will be ignored Need to additionally specify in tool/dcli/pack.yaml

Implementation

static void copyProjectTemplate() {
  for (final resource in ResourceRegistry.resources.values) {
    final localPathTo = join(Directory.current.path, resource.originalPath);
    print(grey('\tUnpacking: ${resource.originalPath}'));
    resource.unpack(localPathTo);
  }
}