@flagify/cli 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ flagify flags toggle my-flag -p <project-id>
|
|
|
53
53
|
|
|
54
54
|
| Command | Description |
|
|
55
55
|
|---------|-------------|
|
|
56
|
-
| `flagify auth login` | Sign in with the browser flow (`--profile <name>` to add a second identity without signing out of the first) |
|
|
56
|
+
| `flagify auth login` | Sign in with the browser flow (`--profile <name>` to add a second identity without signing out of the first). If the current repo has a `.flagify/project.json` whose `preferredProfile` points elsewhere, the CLI prompts (TTY only) to rewrite the pin to the profile you just authenticated. If the browser comes back without tokens (expired session / interrupted flow), the CLI auto-reopens the flow on a TTY (up to 3 attempts); non-TTY runs get a single actionable error. |
|
|
57
57
|
| `flagify auth logout` | Sign out of the active profile (`--profile <name>` or `--all`) |
|
|
58
58
|
| `flagify auth list` | List signed-in profiles (`--format json`) |
|
|
59
59
|
| `flagify auth switch <name>` | Set the active profile |
|
|
@@ -84,8 +84,13 @@ flagify flags toggle my-flag -p <project-id>
|
|
|
84
84
|
| `flagify segments delete <id>` | Delete a segment by ID |
|
|
85
85
|
| `flagify targeting list <flag-key>` | Show targeting rules for a flag in an environment (`--format json`; returns `{flag, environment, rules}`) |
|
|
86
86
|
| `flagify targeting set <flag-key>` | Replace all targeting rules for a flag (`--rules '<json>'`, `--format json`) |
|
|
87
|
+
| `flagify webhooks list` | List webhooks in a project; defaults to the aggregate view across environments (`--environment` to scope, `--format json`) |
|
|
88
|
+
| `flagify webhooks create` | Create a webhook subscribed to one or more flag/targeting events. Environment-scoped — the signing secret is printed exactly once |
|
|
89
|
+
| `flagify webhooks get <webhook-id>` | Show a webhook's URL, environment, events, and status (`--format json`) |
|
|
90
|
+
| `flagify webhooks delete <webhook-id>` | Delete a webhook subscription |
|
|
91
|
+
| `flagify webhooks deliveries <webhook-id>` | Show recent delivery attempts with status code and response excerpt (`--format json`, `--limit N`) |
|
|
87
92
|
| `flagify whoami` | Show current authenticated user (`--format json`) |
|
|
88
|
-
| `flagify ai-setup` | Generate AI tool configs (Claude, Cursor, Copilot, Windsurf). Includes the integrations catalogue; use `--include-flags` for a snapshot |
|
|
93
|
+
| `flagify ai-setup` | Generate AI tool configs (Claude Code skill, Cursor, Copilot, Windsurf). Includes the integrations catalogue; use `--include-flags` for a snapshot |
|
|
89
94
|
| `flagify types` | Generate typed flag key constants (`--typescript` or `--go`) for compile-time safety in application code |
|
|
90
95
|
| `flagify config` | Show current configuration (`--format json`) |
|
|
91
96
|
| `flagify config set <key> <value>` | Set a config value (api-url, console-url, workspace, project, environment) |
|