Loading...
Loading...
Compare original and translation side by side
node .claude/skills/flipt/flipt.mjs <command> [options]node .claude/skills/flipt/flipt.mjs <command> [options]| Command | Description |
|---|---|
| List all flags |
| Get details for a specific flag |
| Create a new boolean flag |
| Enable a flag (set to true) |
| Disable a flag (set to false) |
| Delete a flag (requires confirmation) |
| 命令 | 描述 |
|---|---|
| 列出所有标志 |
| 获取特定标志的详细信息 |
| 创建一个新的布尔型标志 |
| 启用标志(设置为true) |
| 禁用标志(设置为false) |
| 删除标志(需要确认) |
| Flag | Description |
|---|---|
| Description for new flag |
| Create flag as enabled (default: disabled) |
| Output results as JSON |
| Minimal output |
| Skip confirmation prompts |
| 标志 | 描述 |
|---|---|
| 新标志的描述 |
| 创建已启用的标志(默认:禁用) |
| 以JSON格式输出结果 |
| 精简输出 |
| 跳过确认提示 |
undefinedundefinedundefinedundefinedcivitai/flipt-stateundefinedcivitai/flipt-stateundefinedflags:flags:undefinedundefinedflags:
- key: my-feature-flag
name: my-feature-flag
type: BOOLEAN_FLAG_TYPE
description: Description of what this flag controls
enabled: false
# Optional: rollout rules
rollouts:
- threshold:
percentage: 50
value: true
- segment:
keys:
- moderators
operator: OR_SEGMENT_OPERATOR
value: trueflags:
- key: my-feature-flag
name: my-feature-flag
type: BOOLEAN_FLAG_TYPE
description: Description of what this flag controls
enabled: false
# 可选:发布规则
rollouts:
- threshold:
percentage: 50
value: true
- segment:
keys:
- moderators
operator: OR_SEGMENT_OPERATOR
value: true.env.example.envcp .claude/skills/flipt/.env.example .claude/skills/flipt/.envFLIPT_URLFLIPT_API_TOKEN.env.example.envcp .claude/skills/flipt/.env.example .claude/skills/flipt/.envFLIPT_URLFLIPT_API_TOKEN