runClean method

Future<bool> runClean()

Implementation

Future<bool> runClean() async {
  try {
    final shell = Shell();
    _cliHelper.printInfo('  Running flutter clean...');

    await shell.run('flutter clean');
    _cliHelper.printSuccess('  ✓ Project cleaned successfully');
    return true;
  } catch (e) {
    _cliHelper.printError('  ✗ Failed to clean project: $e');
    return false;
  }
}