flags
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFeature Flags
Feature Flags
Arguments:
- $ARGUMENTS: Optional flags
参数:
- $ARGUMENTS: 可选标志
Options
选项
| Option | Purpose |
|---|---|
| (none) | Show all flags across all channels |
| Compare flags between channels |
| Show flags grouped by cleanup status |
| Output in CSV format |
| 选项 | 用途 |
|---|---|
| (无) | 显示所有渠道的所有标志 |
| 对比不同渠道间的标志 |
| 按清理状态分组显示标志 |
| 以CSV格式输出 |
Channels
渠道
- ,
www- Meta internalwww-modern - ,
canary,next- OSS channelsexperimental - ,
rn,rn-fb- React Nativern-next
- ,
www- Meta内部渠道www-modern - ,
canary,next- 开源软件(OSS)渠道experimental - ,
rn,rn-fb- React Native渠道rn-next
Legend
图例
✅ enabled, ❌ disabled, 🧪 , 📊 profiling-only
__VARIANT__✅ 已启用, ❌ 已禁用, 🧪 , 📊 仅用于性能分析
__VARIANT__Instructions
操作步骤
- Run
yarn flags $ARGUMENTS - Explain the output to the user
- For --diff, highlight meaningful differences
- 运行
yarn flags $ARGUMENTS - 向用户解释输出内容
- 若使用--diff,突出显示有意义的差异
Common Mistakes
常见错误
- Forgetting flags - These are tested both ways in www; check both variants
__VARIANT__ - Comparing wrong channels - Use to see exact differences
--diff
- 忽略标志 - 这些标志在www渠道中会进行双向测试;请检查两种变体
__VARIANT__ - 对比错误的渠道 - 使用查看精确差异
--diff