copyFromTemplate static method

Future<void> copyFromTemplate()

Implementation

static Future<void> copyFromTemplate() async {
  LogService.info('Running `git clone` …');
  await run('git clone http://172.17.32.73/sus12/sunac_flutter.git .template', verbose: true);

  await run('mv .template/lib lib', verbose: false);
  await run('mv .template/assets assets', verbose: false);
  await run('rm -rf .template', verbose: false);

  LogService.success('Copying from template success!');
}