disableFeature method

Future<void> disableFeature(
  1. String feature
)

Provides warnings and manual instructions for disabling features that cannot be easily undone via the CLI.

Implementation

Future<void> disableFeature(String feature) async {
  switch (feature) {
    case 'auth':
      print('⚠️ Auth cannot be disabled via CLI');
      break;

    case 'firestore':
      print('⚠️ Firestore cannot be disabled once created');
      break;

    case 'fcm':
      print('⚠️ Remove firebase_messaging manually');
      break;

    default:
      print('❌ Unknown feature: $feature');
  }
}