clean function

Future<void> clean()

process of clean

Implementation

Future<void> clean() async {
  // Cometプロジェクトかどうか
  final cometYaml = readCometYaml();
  if (cometYaml == null) {
    print('Not found $cometYamlName');
    return;
  }

  ProgressStar.start('flutter clean..');
  await runFlutterClean(cometYaml.flutterProject.root);

  ProgressStar.message('flutter pub get..');
  await runFlutterPubGet(cometYaml.flutterProject.root);

  ProgressStar.stop();
}