Feature Flags
Arguments:
- $ARGUMENTS: Optional flags
Options
Option Purpose
(none) Show all flags across all channels
--diff <ch1> <ch2>
Compare flags between channels
--cleanup
Show flags grouped by cleanup status
--csv
Output in CSV format
Channels
-
www , www-modern
-
Meta internal
-
canary , next , experimental
-
OSS channels
-
rn , rn-fb , rn-next
-
React Native
Legend
✅ enabled, ❌ disabled, 🧪 VARIANT , 📊 profiling-only
Instructions
-
Run yarn flags $ARGUMENTS
-
Explain the output to the user
-
For --diff, highlight meaningful differences
Common Mistakes
-
Forgetting VARIANT flags - These are tested both ways in www; check both variants
-
Comparing wrong channels - Use --diff to see exact differences